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
"noremap <left> <nop> | |
"noremap <right> <nop> | |
"noremap <up> <nop> | |
"noremap <down> <nop> | |
"set exrc | |
"set secure |
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
To get it to work please follow the steps: | |
1) Create test user by toggling the Authorize test users for this app and grant permissions "manage_pages" and "page_messaging". | |
2) Use the Edit Button and get an access token for this user (using v2.6). Please save this for later. | |
3) Use edit button to login as the test user | |
4) After login, create page as the test user | |
5) Use the user access token for the test user to get the page access token for this user. You can do this with the following call: | |
~~~ | |
https://graph.facebook.com/v2.6/me/accounts?access_token=<TEST_USER_ACCESS_TOKEN> | |
~~~ |
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
# /etc/login.conf | |
\:umask=022:\ | |
\:charset=UTF-8:\ | |
\:lang=en_US.UTF-8: | |
# cap_mkdb /etc/login.conf | |
# /etc/profile | |
setenv LANG en_US.UTF-8 | |
setenv CHARSET UTF-8 |
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
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'easymotion/vim-easymotion' | |
Plug 'raimondi/delimitmate' | |
Plug 'mileszs/ack.vim' | |
Plug 'kien/ctrlp.vim' | |
Plug 'tpope/vim-surround' | |
Plug 'tpope/vim-rails' |
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
gpart show | |
gpart recover da0 | |
gpart resize -i 2 -s 19G da0 | |
zpool list | |
zpool online -e zroot da0p2 |
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
<ENTER>~C - To open command line | |
<ENTER>~? - To open help files | |
<ENTER>~# - To list forwarded connections | |
https://coderwall.com/p/5wp2wg/start-port-forwarding-over-an-existing-ssh-connection-instead-of-creating-a-new-one |
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
openssl genrsa 2048 | tee stunnel.key | |
openssl req -new -key stunnel.key -x509 -days 365 -out stunnel.crt | |
openssl dhparam 2048 | tee stunnel.dhp | |
cat stunnel.crt stunnel.key stunnel.dhp | tee stunnel.pem |
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
;; forward all incoming traffic to port 8080 from port 80 | |
netsh interface portproxy add v4tov4 listenport=80 listenaddress=127.0.0.1 connectport=8080 connectaddress=127.0.0.1 | |
;; get ports that are open | |
netstat -ano | findstr :8080 | |
;; show all port proxies | |
netsh interface portproxy show all | |
;; clear all forwarding rules |
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 python:2.7-alpine | |
MAINTAINER Edward Fitz Abucay <[email protected]> | |
USER root | |
ENV JUROJIN_SRC=data | |
ENV JUROJIN_BOOT=jurojin-boot.sh | |
ENV JUROJIN=/data | |
RUN mkdir -p $JUROJIN |
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 file = cat('./MOCK_DATA.json'); | |
use yoopur; | |
db.auth('username', 'password'); | |
var o = JSON.parse(file); | |
db.users.insert(o); |
NewerOlder