This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dep | |
sudo pacman -S dosfstools | |
# find the device | |
lsblk | |
# umount the key if mounted | |
sudo umount /dev/sdx | |
# format it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cqlsh -k panda -e "copy frames to '/tmp/frames_dump.csv';" | |
# add chunksize if your row are big | |
cqlsh -k panda -e "copy frames from '/tmp/frames_dump.csv' WITH chunksize = 1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tested only on ubuntu 16.04 | |
# The package in ppa is bugged | |
wget http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb | |
sudo apt-get install gdebi-core | |
sudo gdebi dante-server_1.4.1-1_amd64.deb | |
sudo adduser PROXYUSER | |
sudo passwd PROXYUSER | |
# type PROXYPASSWORD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud config set project $PROJECT_ID | |
gcloud compute instances list --format json | jq -M '.[] | select(.status == "RUNNING") | "Host \(.name)\n hostname \(.networkInterfaces[0].accessConfigs[0].natIP)\n user $USER\n port $SSH_PORT\n"' | sed 's/\\n/\n/g' | sed 's/"//g' > ssh_config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IPv6 | |
## | |
## set default policies to let everything in | |
ip6tables --policy INPUT ACCEPT; | |
ip6tables --policy OUTPUT ACCEPT; | |
ip6tables --policy FORWARD ACCEPT; | |
## | |
## start fresh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG v1 | |
hQIMAx0+vlvaav0UAQ/+PE4a4cn6TliVoZN7CXg4kT+xlSLOyo551LZln30aYMcD | |
SjAxqTqMnuLQBm16Yry/g7jyZM04im7F3RlsTOP/3LRszTPq4iQonfhdwoiYPj8a | |
m8/DUnLXEuao+9SQ6xchjKx89Bn6YDnLeDaojStIxgf9yieVhKTxeHHeuJ7JGcW/ | |
mkusZuds159jbbjn5aE7ZrSe4s9yijaKO03veQHnMvaZfZc+W+43pGojdDRc4OLC | |
3BValcemGhf5Mf0F87nnMkTwJi8KqyrKtIF0LbL4JcakqyEyHeVzeMWQq9pg9qJj | |
Br9LTxR1Q6KdcljuLJQDseWMhFWAVclJPBfdnXbZ3XL+s+x/aa2JLooZuJFfB/k1 | |
kAVwXsvlmGoa/FWr8pk12lW7fX76j+MOqhnHwQczw7FuffJetF7E8ntRlou1llfC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
While 1 | |
Sleep( Random(1, 2, 1) * 1000 * 60) | |
Send("{space down}"); | |
Send("{space up}"); | |
Sleep( Random(1, 2, 1) * 1000 ) | |
Send("{/ down}") | |
Send("{/ up}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _0x5e6a = ["thumbnailsOpen", "isActive", "https://assets.lekiosk.com/filters:quality(50)/Public/Publications/", "/Images/mini", ".jpg", "pageTurnedDate", "updateCurrentPage", "$el", "open", "-100%", "none", "display", "flex", "watchCurrent", "querySelector", "#thumbnail_", "#reader_thumbnails_container", "offsetTop", "clientHeight", "clientWidth", "offsetLeft", "scrollLeft", "pageTurn", "isInternetExplorer", "doubleTapEnable", "navigateTime", "waitThumbnail", "isMouseDown", "startX", "startY", "scrollTop", "isDown", "mouseIsOnThumbnail", "onPinch", "hammerPosX", "hammerPosY", "hammerLastScale", "hammerLastPosX", "hammerLastPosY", "hammerMaxPosX", "hammerMaxPosY", "readerContentOriginX", "readerContentOriginY", "browserMinimumVersion", "12.1", "resize", "setSinglePage", "minHeight", "innerHeight", "setCanvasSize", "initPositionReaderContent", "children", "innerWidth", "floor", "displayPages", "getElementById", "tempLoading", "$route", "IssuePageRead", "improvment", "plus", "hammerSwipe", "hammer", "hammer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## From zxcvbn-elixir | |
msgid "Add another word or two. Uncommon words are better." | |
msgstr "" | |
msgid "Straight rows of keys are easy to guess" | |
msgstr "" | |
msgid "Short keyboard patterns are easy to guess" | |
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule AppWeb.Host do | |
@moduledoc """ | |
Conveniences for working with host. | |
""" | |
def root do | |
Keyword.get(get_config(), :root) | |
end | |
def root_uri do | |
Keyword.get(get_config(), :root_uri) |
OlderNewer