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
| # men-rsync dari /folder/sumber/ menuju /folder/tujuan/ yang berada pada host 192.168.1.101 | |
| rsync -av --progress -e ssh /folder/sumber/ dwiasharialdy@192.168.1.101:/folder/tujuan/ |
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
| git log --graph --pretty=format:"%Cred%h %Creset[%ai] %Cblue%s" --color |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>Untitled</title> | |
| <!-- | |
| <link rel="stylesheet" href="/path/to/style.css" type="text/css" /> | |
| --> | |
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
| $("<style type='text/css'> .hovrd{border : 1px solid #ff0000} </style>").appendTo("head"); | |
| $('div').hover( | |
| function(){ | |
| $(this).addClass('hovrd') | |
| }, | |
| function(){ | |
| $(this).removeClass('hovrd') | |
| } | |
| ); |
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
| # to run this script, type this line in your console: | |
| # | |
| # $ ruby alien_language.rb < input_file.txt > output_file.txt | |
| # | |
| # | |
| # this script tested with ruby 1.8.7 patchlevel 72 | |
| input_array = readlines | |
| var = input_array[0].split(" ") |
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
| inputArray = readlines | |
| case_num = inputArray.shift | |
| test_case = [] | |
| h = 0 | |
| w = 0 | |
| counter = 0 | |
| temp_arr = [] | |
| inputArray.each do |
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
| wget http://situs.com/1/nama-{1..12}.jpg; rename 's/nama/nama1/' *nama-*.jpg |
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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines in the history. See bash(1) for more options | |
| # ... or force ignoredups and ignorespace | |
| HISTCONTROL=ignoredups:ignorespace |
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
| <style> | |
| pre{ | |
| margin: 0; | |
| padding: 7px 0; | |
| } | |
| </style> | |
| <?php | |
| function rgb2hsv ($RGB) | |
| { |
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
| " Vim color file | |
| " Converted from Textmate theme Twilight using Coloration v0.2.5 (http://github.com/sickill/coloration) | |
| set background=dark | |
| highlight clear | |
| if exists("syntax_on") | |
| syntax reset | |
| endif |