Skip to content

Instantly share code, notes, and snippets.

View arbaieffendi's full-sized avatar
👋
loading...

Arba'i Effendi arbaieffendi

👋
loading...
View GitHub Profile
@arbaieffendi
arbaieffendi / StartTheDay.bat
Created December 15, 2022 09:49
Default script to start my day
@echo off
title Starting the day..
cd "C:\Program Files\Microsoft Office\root\Office16\"
start OUTLOOK.EXE
cd "C:\Program Files\Google\Chrome\Application\"
start chrome.exe
cd "C:\Users\[change-this]\AppData\Roaming\Spotify\"
@arbaieffendi
arbaieffendi / gist:cbf105a139da58359946bb5ce3ee2d22
Created December 5, 2019 04:51 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@arbaieffendi
arbaieffendi / Maze.go
Created May 27, 2019 06:24
Maze SxS. S = 4n-1, n = bilangan bulat ganjil positif
package main
import (
"fmt"
)
func main() {
maze(3)
}
@arbaieffendi
arbaieffendi / Pipeline.php
Created May 15, 2019 13:23
Implementation of make_pipeline method
<?php
class Pipeline
{
public static function make_pipeline(...$funcs)
{
return function($arg) use ($funcs)
{
foreach($funcs as $f){
$arg = $f($arg);
}
@arbaieffendi
arbaieffendi / select_no_manager.sql
Created May 15, 2019 09:11
Write a query that selects the names of employees who are not managers.
SELECT name
FROM employees
WHERE id
NOT IN (SELECT managerId FROM employees WHERE managerId IS NOT null)
@arbaieffendi
arbaieffendi / select_students.sql
Created May 15, 2019 08:25
a query that returns the number of students whose first name is John
SELECT count(firstName)
FROM
students
WHERE
firstName = "John"
@arbaieffendi
arbaieffendi / Palindrome.php
Created May 15, 2019 08:16
Palindrome Class written in PHP 7.1.9. - isPalindrome
<?php
class Palindrome
{
public static function isPalindrome($word)
{
$word = strtolower($word);
$wordArray = str_split($word);
for ($i = 0; $i <= count($wordArray); $i++) {
$wordBackward = $wordBackward.$wordArray[count($wordArray)-$i];