🏳️Discover gists · GitHub

Website favicongist.github.com

GitHub Gist: instantly share code, notes, and snippets.

[Skip to content](#start-of-content) 

[](/)

[](/)

[Sign in](https://gist.github.com/auth/github?return_to=https%3A%2F%2Fgist.github.com%2Fstarred) [Sign up](/join?return_to=https%3A%2F%2Fgist.github.com%2Fstarred&source=header-gist)

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

Instantly share code, notes, and snippets.

Discover gists

==============

*   [1 file](/voxxit/d65d8e97980ec8627ea6)

*   [1 fork](/voxxit/d65d8e97980ec8627ea6/forks)

*   [0 comments](/voxxit/d65d8e97980ec8627ea6#comments)

*   [2 stars](/voxxit/d65d8e97980ec8627ea6/stargazers)

[](/voxxit)

[voxxit](/voxxit) / [**hashicorp.consul.server.plist**](/voxxit/d65d8e97980ec8627ea6)

Created August 7, 2015 22:01

LaunchAgent for Consul & Consul UI

<?xml version\="1.0" encoding\="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version\="1.0"\>

<dict\>

<key\>KeepAlive</key\>

<true/>

<key\>Label</key\>

<string\>hashicorp.consul.server</string\>

<key\>ProgramArguments</key\>

<array\>

*   [1 file](/martinsotir/2bd2e16332dff71e0fa5be3ed3468a6c)

*   [3 forks](/martinsotir/2bd2e16332dff71e0fa5be3ed3468a6c/forks)

*   [12 comments](/martinsotir/2bd2e16332dff71e0fa5be3ed3468a6c#comments)

*   [11 stars](/martinsotir/2bd2e16332dff71e0fa5be3ed3468a6c/stargazers)

[](/martinsotir)

[martinsotir](/martinsotir) / [**conda\_4.6\_powershell.md**](/martinsotir/2bd2e16332dff71e0fa5be3ed3468a6c)

Last active March 5, 2025 22:05

Enable conda in powershell

Enabling conda in Windows Powershell

====================================

[](#enabling-conda-in-windows-powershell)

First, in an **administrator** command prompt, enable unrestricted Powershell script execution (see [About Execution Policies](https://docs.microsoft.com/en-ca/powershell/module/microsoft.powershell.core/about/about_execution_policies)):

set-executionpolicy unrestricted

Then makes sure that the conda Script directory in is your Path.

*   [1 file](/Klerith/3f611ff0e5c15b733ac63365ab310a35)

*   [37 forks](/Klerith/3f611ff0e5c15b733ac63365ab310a35/forks)

*   [35 comments](/Klerith/3f611ff0e5c15b733ac63365ab310a35#comments)

*   [93 stars](/Klerith/3f611ff0e5c15b733ac63365ab310a35/stargazers)

[](/Klerith)

[Klerith](/Klerith) / [**instalaciones-docker.md**](/Klerith/3f611ff0e5c15b733ac63365ab310a35)

Last active March 5, 2025 22:03

Curso Docker - Guía práctica de uso para desarrolladores

========================================================

[](#curso-docker---guía-práctica-de-uso-para-desarrolladores)

1.  [Node JS](https://nodejs.org/es/)

2.  [VSCode - Visual Studio Code](https://code.visualstudio.com/)

3.  [Google Chrome](https://www.google.com.mx/intl/es-419/chrome/?brand=CHBD&gclid=Cj0KCQiAtrnuBRDXARIsABiN-7AAMm13Ae3KDIib46Laxfe6tzD_w4yvDdpq5XsPw1eNlOkZ_0-3x3IaAvLEEALw_wcB&gclsrc=aw.ds)

4.  [Postman](https://www.postman.com/downloads/)

*   [1 file](/dmfutcher/e1e980262f2ddc8db3b8)

*   [3 forks](/dmfutcher/e1e980262f2ddc8db3b8/forks)

*   [3 comments](/dmfutcher/e1e980262f2ddc8db3b8#comments)

*   [18 stars](/dmfutcher/e1e980262f2ddc8db3b8/stargazers)

[](/dmfutcher)

[dmfutcher](/dmfutcher) / [**server.asm**](/dmfutcher/e1e980262f2ddc8db3b8)

Created July 27, 2015 18:37

TCP Echo server in x86\_64 assembly, using Linux system calls.

;; Simple TCP echo server in x86\_64 assembly, using Linux syscalls

;;

;; nasm -felf64 -o server.o server.asm

;; ld server.o -o server

;; ./server

;;

global \_start

;; Data definitions

*   [1 file](/zirkuswurstikus/3689d846cdd0d313a4e5448297127093)

*   [1 fork](/zirkuswurstikus/3689d846cdd0d313a4e5448297127093/forks)

*   [0 comments](/zirkuswurstikus/3689d846cdd0d313a4e5448297127093#comments)

*   [2 stars](/zirkuswurstikus/3689d846cdd0d313a4e5448297127093/stargazers)

[](/zirkuswurstikus)

[zirkuswurstikus](/zirkuswurstikus) / [**lua\_build\_macos.sh**](/zirkuswurstikus/3689d846cdd0d313a4e5448297127093)

Last active March 5, 2025 21:57

A step by step guide on how to install lua, luajit and luarocks from sources on macOS.

# Build & install Lua on macOS

# We will compile Lua 5.1 because it is compatible with openresty/lapis.

# Replace the variables from line 30 ff to install a diffrent version.

# See: https://www.lua.org/manual/5.1/

# NOTE:

# We create a dedicated directory for the Lua stuff to putt all the stuff in.

*   [2 files](/S1M0N38/44c573db63864bcd1dc0bfc73359fec9)

*   [0 forks](/S1M0N38/44c573db63864bcd1dc0bfc73359fec9/forks)

*   [0 comments](/S1M0N38/44c573db63864bcd1dc0bfc73359fec9#comments)

*   [3 stars](/S1M0N38/44c573db63864bcd1dc0bfc73359fec9/stargazers)

[](/S1M0N38)

[S1M0N38](/S1M0N38) / [**install-lua-luarocks-on-macos.sh**](/S1M0N38/44c573db63864bcd1dc0bfc73359fec9)

Last active March 5, 2025 21:57 — forked from [zirkuswurstikus/lua\_build\_macos.sh](/zirkuswurstikus/3689d846cdd0d313a4e5448297127093)

A simple script to install Lua and Luarocks from source in a custom dir

#!/bin/bash

# This scripts installs Lua, LuaRocks, and some Lua libraries on macOS.

# The main purpose is to install Busted for testing Neovim plugins.

# After the installation, you will be able to run test using busted:

# busted --lua nlua spec/mytest\_spec.lua

################################################################################

# Dependencies

################################################################################

*   [1 file](/07jasjeet/30009612ac7a76f4aeece43b8aec85bd)

*   [0 forks](/07jasjeet/30009612ac7a76f4aeece43b8aec85bd/forks)

*   [0 comments](/07jasjeet/30009612ac7a76f4aeece43b8aec85bd#comments)

*   [1 star](/07jasjeet/30009612ac7a76f4aeece43b8aec85bd/stargazers)

[](/07jasjeet)

[07jasjeet](/07jasjeet) / [**IndexScrollAnimator.kt**](/07jasjeet/30009612ac7a76f4aeece43b8aec85bd)

Created March 5, 2025 21:13

import androidx.compose.animation.core.AnimationSpec

import androidx.compose.animation.core.animate

import androidx.compose.animation.core.tween

import androidx.compose.foundation.gestures.ScrollableState

import androidx.compose.foundation.layout.Column

import androidx.compose.foundation.layout.ColumnScope

import androidx.compose.foundation.lazy.LazyListState

import androidx.compose.runtime.Composable

import androidx.compose.runtime.Stable

import androidx.compose.runtime.saveable.Saver

*   [1 file](/sangeeths/9467061)

*   [93 forks](/sangeeths/9467061/forks)

*   [18 comments](/sangeeths/9467061#comments)

*   [233 stars](/sangeeths/9467061/stargazers)

[](/sangeeths)

[sangeeths](/sangeeths) / [**github-to-bitbucket**](/sangeeths/9467061)

Created March 10, 2014 15:24

Forking a Github repo to Bitbucket

Go to Bitbucket and create a new repository (its better to have an empty repo)

git clone [email protected]:abc/myforkedrepo.git

cd myforkedrepo

Now add Github repo as a new remote in Bitbucket called "sync"

git remote add sync [email protected]:def/originalrepo.git

Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync"

git remote -v

*   [1 file](/OlivierKobialka/9d3c6f90c22ce4b9629c31807b29bb7d)

*   [1 fork](/OlivierKobialka/9d3c6f90c22ce4b9629c31807b29bb7d/forks)

*   [0 comments](/OlivierKobialka/9d3c6f90c22ce4b9629c31807b29bb7d#comments)

*   [4 stars](/OlivierKobialka/9d3c6f90c22ce4b9629c31807b29bb7d/stargazers)

[](/OlivierKobialka)

[OlivierKobialka](/OlivierKobialka) / [**regex.md**](/OlivierKobialka/9d3c6f90c22ce4b9629c31807b29bb7d)

Created December 25, 2023 12:44

Private and Public Key Regex

Match Private and Public Keys using Regular Expressions

=======================================================

[](#match-private-and-public-keys-using-regular-expressions)

1.  [Ethereum (ETH)](#ethereum)

2.  [Bitcoin (BTC)](#bitcoin)

3.  [Monero (XMR)](#monero)

4.  [PuTTY SSH RSA Key](#putty-ssh-rsa-key)

5.  [PuTTY SSH DSA Key](#putty-ssh-dsa-key)

6.  [ECDSA Private Key](#ecdsa-private-key)

7.  [SSL Certificate](#ssl-certificate)

8.  [John the Ripper](#john-the-ripper)

*   [1 file](/eudemonics/adc1275c572bcecf62a4)

*   [1 fork](/eudemonics/adc1275c572bcecf62a4/forks)

*   [0 comments](/eudemonics/adc1275c572bcecf62a4#comments)

*   [1 star](/eudemonics/adc1275c572bcecf62a4/stargazers)

[](/eudemonics)

[eudemonics](/eudemonics) / [**vpnfw.sh**](/eudemonics/adc1275c572bcecf62a4)

Last active March 5, 2025 21:45

script for android to send wifi tethering traffic over openVPN

#!/bin/sh

# requires ROOT privileges on android

# save this file to /data/local/vpnfw.sh on device. open new terminal on device and type:

# chmod 777 /data/local/vpnfw.sh

# connect to openVPN server first, then turn on wifi tethering

# execute script by typing:

# sh /data/local/vpnfw.sh

iptables -t filter -F FORWARD

iptables -t nat -F POSTROUTING

iptables -t filter -I FORWARD -j ACCEPT

Newer[Older](https://gist.github.com/starred?page=2)

You can’t perform that action at this time.