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
.model small | |
.stack 100h | |
.data | |
char db ? | |
.code | |
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
"dl" delete character (alias: "x") |dl| | |
"diw" delete inner word *diw* | |
"daw" delete a word *daw* | |
"diW" delete inner WORD (see |WORD|) *diW* | |
"daW" delete a WORD (see |WORD|) *daW* | |
"dgn" delete the next search pattern match *dgn* | |
"dd" delete one line |dd| | |
"dis" delete inner sentence *dis* | |
"das" delete a sentence *das* | |
"dib" delete inner '(' ')' block *dib* |
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
On the Dropbox menu go to Preferences. Deselect "Start Dropbox on system startup" | |
Go to Session and Startup > Application Autostart and add the following startup item: | |
bash -c 'export DBUS_SESSION_BUS_ADDRESS="" && dropbox start -i' |
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
# Installation process of composer | |
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc | |
mkdir -p ~/.composer/vendor/bin | |
curl -sS https://getcomposer.org/installer | php -- --install-dir=$HOME/.composer/vendor/bin --filename=composer |
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
[ | |
{ | |
"directory": "/home/kick/", | |
"command": "/usr/bin/clang++ -stdlib=libc++ -std=c++1y -lc++abi -Werror -Wself-assign -Wall -pedantic-errors -Wextra-tokens -Wambiguous-member-template -lpthread", | |
"file": "~/file.cpp" | |
} | |
] |
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
.hgignore | |
node_module | |
.DS_Store | |
Thumbs.db | |
# Compiled Object files | |
*.slo | |
*.lo | |
*.o | |
*.obj |
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
<IfModule mod_rewrite.c> | |
<IfModule mod_negotiation.c> | |
Options -MultiViews | |
</IfModule> | |
RewriteBase / | |
RewriteEngine On | |
# Redirect Trailing Slashes If Not A Folder... | |
RewriteCond %{REQUEST_FILENAME} !-d |
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
<?php | |
class foo { | |
public $value = 42; | |
public function &getValue(){ | |
return $this->value; | |
} | |
} |
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
# Copyright (c) 1993-2009 Microsoft Corp. | |
# | |
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows. | |
# | |
# This file contains the mappings of IP addresses to host names. Each | |
# entry should be kept on an individual line. The IP address should | |
# be placed in the first column followed by the corresponding host name. | |
# The IP address and the host name should be separated by at least one | |
# space. | |
# |
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
readnum macro num | |
push ax | |
push dx ;pushing ax,dx in stack to keep the previous values | |
;protected | |
mov ah, 01h ;read character function | |
int 21h ;execute the function | |