This file contains hidden or 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
call plug#begin('~/.local/share/nvim/plugged') | |
" " Language Server Protocol (LSP) support | |
Plug 'autozimu/LanguageClient-neovim', { | |
\ 'branch': 'next', | |
\ 'do': 'bash install.sh', | |
\ } | |
" (Optional) Multi-entry selection UI. | |
Plug 'junegunn/fzf' |
This file contains hidden or 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
#include <functional> | |
#include <algorithm> | |
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <iomanip> | |
#include <numeric> | |
#include <cstring> | |
#include <cassert> | |
#include <cstdio> |
This file contains hidden or 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
#include <functional> | |
#include <algorithm> | |
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <iomanip> | |
#include <numeric> | |
#include <cstring> | |
#include <cassert> | |
#include <cstdio> |
This file contains hidden or 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
#include<iostream> | |
#include<cstdio> | |
#include<unistd.h> | |
#include<getopt.h> | |
using namespace std; | |
int reverse(int); | |
void help(char *); | |
void big2lettle(int); |
This file contains hidden or 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
#include<iostream> | |
#include<cstdio> | |
using namespace std; | |
int main(int argc, char * argv[]){ | |
if(2==argc){ | |
int x = atoi(argv[1]); | |
cout << "Origional: " << x << endl; | |
//cout << "Big-endian: " << hex << uppercase << x << endl; |
This file contains hidden or 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
1. Host Tor relay | |
2. Host i2p node | |
3. Tor gateway via i2p | |
4. Gogs | |
5. zeronet node |
This file contains hidden or 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
// Based on http://stackoverflow.com/a/10520017/1307721 and http://stackoverflow.com/a/16022728/1307721 | |
Podium = {}; | |
Podium.keydown = function(k) { | |
var oEvent = document.createEvent('KeyboardEvent'); | |
// Chromium Hack | |
Object.defineProperty(oEvent, 'keyCode', { | |
get : function() { |
This file contains hidden or 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 base/archlinux | |
Maintainer "TJM <[email protected]>" | |
ENV TERM=xterm-256color | |
RUN ["/usr/bin/pacman","-Sy"] | |
RUN ["/usr/bin/pacman","--noconfirm","-S","archlinux-keyring"] | |
RUN ["/usr/bin/pacman","--noconfirm","-S","pacman-mirrorlist"] | |
RUN ["/usr/bin/sed","-i","s/^#Server/Server/","/etc/pacman.d/mirrorlist.pacnew"] | |
RUN /usr/bin/bash -c '/usr/bin/grep -v \# /etc/pacman.d/mirrorlist.pacnew >/tmp/mirrorlist' | |
RUN /usr/bin/bash -c "/usr/bin/rankmirrors /tmp/mirrorlist > /etc/pacman.d/mirrorlist" | |
RUN ["/usr/bin/pacman","--noconfirm","-Syu"] |
This file contains hidden or 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
#!/bin/bash | |
export TRIGGER=FB_RecoveryLauncher/recovery.trigger.new | |
export LAUNCHER=FB_RecoveryLauncher/recovery.launcher | |
export RECOVERY=FB_RecoveryLauncher/recovery.zip | |
export OEMTRIGGER=/system/bin/logcat | |
export OEMCMD=stop_partitioning | |
fastboot flash /tmp/recovery.zip $RECOVERY | |
fastboot flash /tmp/recovery.launcher $LAUNCHER |
This file contains hidden or 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
#!/bin/sh | |
#need ZenFoneRootKit_20150614.zip | |
#set -v | |
BASEDIR=$(dirname $0) | |
cd $BASEDIR | |
chmod +x files/adb.mac | |
chmod +x files/fastboot.mac | |
ADBBINARY="adb" |
NewerOlder