Skip to content

Instantly share code, notes, and snippets.

View darkterminal's full-sized avatar
🕺
Dancing While Coding

Imam Ali Mustofa darkterminal

🕺
Dancing While Coding
View GitHub Profile
@darkterminal
darkterminal / webdev_online_resources.md
Created July 16, 2018 14:59 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@darkterminal
darkterminal / rest_quick_reference.md
Created August 24, 2018 01:32 — forked from odan/rest_quick_reference.md
REST, RESTful API Quick Reference

REST, RESTful API Quick Reference

A good API is not just easy to use but also hard to misuse.

Ressources

  • Version your API
    • Path: /v1/users
    • Subdomain: api.v1.example.com/users
@darkterminal
darkterminal / addToGoogleCalendar.php
Created September 19, 2018 14:05 — forked from axwax/addToGoogleCalendar.php
add event to google calendar
<?php
// add event to google calendar
echo '<a href="' . addToGoogleCalendar("Let's test this", "next wednesday 2pm", "next wednesday 4pm", "right here, right now", "bla blah rhubarb http://axwax.de") . '">next weds 2pm</a><br/>';
echo '<a href="' . addToGoogleCalendar("Breakfast at Tiffany's", "tomorrow 8am") . '">Breakfast at Tiffany\'s</a>';
function addToGoogleCalendar($title='', $startdate='', $enddate='', $location='', $details='')
{
$startdate = ($startdate ? $startdate : time());
$startdate = (is_numeric($startdate) ? $startdate : strtotime($startdate));
@darkterminal
darkterminal / jp-ur.json
Created November 30, 2018 05:15 — forked from romeryto/jp-ur.json
jp-ur.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@darkterminal
darkterminal / LinkedMe.txt
Created November 30, 2018 05:28
Linked Me
# Bootstrap 4 Sticky Sidebar
https://codepen.io/cornex/pen/MJOOeb
@darkterminal
darkterminal / media-query.css
Created December 29, 2018 15:22 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@darkterminal
darkterminal / proxy-list-id.php
Last active January 5, 2019 19:24
[ Proxy List ID ] Silahkan yang mau berkontribusi menambah list proxy active indonesia.
<?php
$proxy_list = [
'https://117.102.78.42:8080',
'https://43.252.8.59:80',
'http://182.23.5.10:53334',
'http://202.125.94.139:1234',
'https://202.137.25.53:3128',
'https://110.138.239.105:8080',
'https://110.232.64.164:42008',
@darkterminal
darkterminal / docker-help.md
Created January 19, 2019 16:53 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@darkterminal
darkterminal / geolocation.html
Created February 1, 2019 14:35
Geolocation Without SSL connection
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Geolocation</title>
</head>
<body>
<button type="button" onclick="tryGeolocation()">Geolocation</button>
@mixin for-phone-only {
@media (max-width: 599px) { @content; }
}
@mixin for-tablet-portrait-up {
@media (min-width: 600px) { @content; }
}
@mixin for-tablet-landscape-up {
@media (min-width: 900px) { @content; }
}
@mixin for-desktop-up {