To Do
- for an empty checkboxP
- for a checked checkboxP
# ----------------- 1 ---------------- | |
# Make sure that both methods work as expected | |
go test | |
# Output -> | |
# PASS | |
# ok github.com/alireza-ahmadi/isempty 0.677s | |
# ----------------- 2 ---------------- | |
# Run benchmark to understand the performance difference |
# Aliases | |
alias o="open ." | |
alias pi="ping blogfa.com" | |
alias gis="git status" | |
alias gad="git add" | |
alias gil="git log" | |
alias s="source" | |
alias sp="spotify" | |
alias google-chrome="open -a 'Google Chrome'" | |
alias y="yarn" |
// # Usage | |
// | |
// Save this file and replace username and password on the last line of the file with | |
// your Snapp username and password then run the following commands: | |
// | |
// yarn init && yarn add request | |
// node SnappTotalPriceCalculator.js | |
// | |
const request = require('request'); |
ack | |
autoconf | |
automake | |
awscli | |
axel | |
cairo | |
cassandra | |
ccat | |
cctools | |
cloc |
# Bullet Theme v0.1.0 | |
# | |
# @author Alireza Ahmadi <info@alireza.es> | |
PROMPT=' %{$fg_bold[black]%}●%{$fg_bold[green]%}%p %{$fg_bold[blue]%}%c $(git_prompt_info)% %{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_CLEAN="> %{$fg_bold[cyan]%}✛ " | |
ZSH_THEME_GIT_PROMPT_DIRTY="> %{$fg_bold[red]%}✕ " | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[magenta]%}<" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" |
defaults write
options[Decrease dock's auto-hide delay]
defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0 && killall Dock
defaults delete com.apple.dock autohide-delay && defaults delete com.apple.dock autohide-time-modifier && killall Dock
[Speed up mission control animations]
defaults write com.apple.dock expose-animation-duration -float 0.12 && killall Dock
defaults delete com.apple.dock expose-animation-duration && killall Dock
# ------------------------------------------------------------------------------ | |
# Description | |
# ----------- | |
# | |
# Insert `ALL_PROXY=socks5://server:port` before the command by pressing | |
# ESC and p. Heavily inspired by oh-my-zsh's sudo plugin. | |
# | |
# ------------------------------------------------------------------------------ | |
# Authors | |
# ------- |
public class Loop { | |
public static void main(String[] args) | |
{ | |
Integer total = 500000000; | |
Integer chunk = 50000000; | |
Integer i = 0; |
gulp = require 'gulp' | |
sourcestream = require 'vinyl-source-stream' | |
buffer = require 'vinyl-buffer' | |
util = require 'gulp-util' | |
sourcemaps = require 'gulp-sourcemaps' | |
uglify = require 'gulp-uglify' | |
browserify = require 'browserify' | |
livereload = require 'gulp-livereload' | |
minify = require 'gulp-minify-css' | |
express = require 'express' |