Skip to content

Instantly share code, notes, and snippets.

@maman
maman / Form1.vb
Created March 18, 2013 14:22
VB Balap Dokar
Public Class Form1
Dim flag, finish As Boolean
Dim mobil As String
Dim rand As New Random
Dim bet, score As Integer
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
bet = Label2.Text
score = ComboBox1.Text
Randomize()
If Racecar1.lari(rand.Next(50), 300, "Merah") = True Then
@maman
maman / README.md
Created March 17, 2013 09:04
TinyWM made with Autohotkey

tiny AHK-Based Window helper, to maximize productivity. the default keybinds are :

  • Alt + w to resize and move window to top-half.

  • Alt + x to resize and move window to bottom-half.

  • Alt + s to resize and move window to full center.

  • Alt + a to resize and move window to left-half.

  • Alt + d to resize and move window to right-half.

  • Ctrl + Alt + Space to toggle taskbar

@maman
maman / autoread
Last active December 13, 2015 20:29
Safari - automate load Reader
//www\.theverge.com/\d{4}/\d/\d{2}/.*/.*
//arstechnica.com/.*/\d{4}/\d{2}/.*/
//www\.bbc.co.uk/.*/.*
//.*\.kompas.com/read/\d{4}/\d{2}/\d{2}/.+/*
//www\.republika.co.id/berita/.*/.*/\d{2}/.*
//www\.metrotvnews.com/.*/read/\d{4}/\d{2}/\d{2}/.*/.*
----- only copy above line -----
howto : http://canisbos.com/customreader (Safari 6) or http://canisbos.com/customreader_old (Safari 4 & 5)
@width:960px;
@def_grid:16;
.container(){
clear:both;
margin:0 auto;
width:@width;
}
.grid(@grid:@def_grid,@cols:'',@float:left,@display:inline){
@maman
maman / .slate
Created December 19, 2012 05:43
slate config mimicking subtleWM's "Gravities"
#=-=--=-=-=-=-=-=-=-
# SLATS SLATS
# Slate Config File!
#=-=-=-=-=-=-=-=-=-=-
#=-=-=-=-=-=-=-
# Config First
#=-=-=-=-=-=-=-
config defaultToCurrentScreen true
@maman
maman / config
Created November 21, 2012 01:43
Vimium config based on pentadactyl keymap. css for link hints included
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Begin Config, based on Pentadactyl keymap
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# unmap first ...
unmap x
unmap X
unmap d
unmap u
@maman
maman / index.html
Created October 21, 2012 10:20
Clean Tumblr Template. only support Text Posts. complete with jquery, disqus, twitter, and google analytics. tumblr's custom css used for IE Fix.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="text:Disqus Shortname" content="" />
<meta name="text:Twitter Username" content=""/>
<meta name="text:Google Analytics" content="" />
<meta name="text:Website" content="" />
<meta name="text:Blog Author" content="" />
<title>{block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
@maman
maman / normalize.css
Created October 21, 2012 05:25
Resources for my Tumblr Themes
/*! normalize.css v1.0.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/*
* Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
@maman
maman / dekode.html
Created October 21, 2012 01:16
Dekode Tumblr Template. only support Text posts. complete with jquery, disqus, and google analytics.
<!DOCTYPE html>
<html>
<head>
<meta name="color:Background" content="#222222"/>
<meta name="color:Text" content="#eeeeee"/>
<meta name="color:Description" content="#888888"/>
<meta name="color:Link" content="#F4DE35"/>
<meta name="text:Disqus Shortname" content="" />
<meta name="text:Google Analytics" content="" />
<title>{block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
@maman
maman / reset-min.css
Created September 5, 2012 13:38
CSS Reset
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
With some modifications by Achmad Mahardi,
and added sauce from HTML5 Boilerplate.
thanks to the interwebs for the pointers!
*/
/* =============================================================================