Skip to content

Instantly share code, notes, and snippets.

View 3Shoka's full-sized avatar
🤫
hmm....

Ashokani 3Shoka

🤫
hmm....
View GitHub Profile
@3Shoka
3Shoka / spotihosts
Created September 19, 2016 07:01
The hosts file entries to block Spotify audio ad servers.
127.0.0.1 media-match.com
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 www.googleadservices.com
127.0.0.1 open.spotify.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 desktop.spotify.com
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 pubads.g.doubleclick.net
127.0.0.1 audio2.spotify.com
127.0.0.1 www.omaze.com
@3Shoka
3Shoka / DeretBilangan.php
Created April 26, 2016 09:24 — forked from ad3n/DeretBilangan.php
[PHPID QUIZ] Deret Bilangan
<?php
class DeretBilangan
{
private function isPrima($number)
{
$flag = 0;
for ($i = 1; $i <= $number; $i++) {
if (0 === $number % $i) {
$flag++;
@3Shoka
3Shoka / tmux-cheatsheet.markdown
Created April 12, 2016 10:12 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
<?php
class BujurSangkar
{
private $sisi = 7;
private $reserved = array();
public function __construct()
{
for ($i = 1; $i <= $this->sisi * $this->sisi; $i++) {
<?php
class JajarGenjang
{
private $panjang = 18;
private $increment = 1;
private function createLine()
{