Skip to content

Instantly share code, notes, and snippets.

View imansyaefulloh's full-sized avatar

Iman Syaefulloh imansyaefulloh

View GitHub Profile
anonymous
anonymous / trycf-gist.cfm
Created April 26, 2016 16:28
TryCF Gist
<cfhttp url="https://catalog.umkc.edu/ribbit/?page=getcourse.rjs&code=ANCH%2520201"></cfhttp>
<cfoutput>
Response Mime Type: #cfhttp.MimeType#<br>
Response Length: #len(cfhttp.filecontent)# <br>
Response Content: <br>
#htmlcodeformat(cfhttp.filecontent)#<br>
#cfhttp.header#
</cfoutput>
#!/usr/bin/env python
# coding: UTF-8
# code extracted from nigiri
import os
import datetime
import sys
import traceback
import re
anonymous
anonymous / Toney
Created April 26, 2016 15:38
Lost credit card <a href=" http://www.sortirambnens.com/buy-cymbalta-online-canada.pdf#language ">order generic cymbalta online</a> After a lot of research, Gunter bought Superdrol. Within weeks, his liver was failing and he said doctors told him he needed a transplant or he could die. Gunter eventually recovered only to learn the NCAA had banne…
Lost credit card <a href=" http://www.sortirambnens.com/buy-cymbalta-online-canada.pdf#language ">order generic cymbalta online</a> After a lot of research, Gunter bought Superdrol. Within weeks, his liver was failing and he said doctors told him he needed a transplant or he could die. Gunter eventually recovered only to learn the NCAA had banned him from competition for steroid use.
@randeep2906
randeep2906 / myOpportunity_mockup.html
Created April 25, 2016 16:51
latest from dev4 on 25 april
<apex:page standardStylesheets="false" sidebar="false" showHeader="false" applyHtmlTag="false" docType="html-5.0" controller="DataSample">
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<head>
<meta charset="UTF-8"/>
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.5/css/materialize.min.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
#bodyid{
@niraj-shah
niraj-shah / VerifyCsrfToken.php
Last active October 31, 2016 04:30
Laravel 5.x CSRF Middleware with custom redirect
<?php
namespace App\Http\Middleware;
use Closure;
use Redirect;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
@gilbitron
gilbitron / .env.travis
Last active October 21, 2025 01:09
Laravel 5 Travis CI config
APP_ENV=testing
APP_KEY=SomeRandomString
DB_CONNECTION=testing
DB_TEST_USERNAME=root
DB_TEST_PASSWORD=
CACHE_DRIVER=array
SESSION_DRIVER=array
QUEUE_DRIVER=sync
@mul14
mul14 / 00_etc-hosts.md
Last active November 18, 2025 07:42
/etc/hosts for Vimeo, Reddit, Imgur, GitHub, DigitalOcean, dll

Unblock Steam, Vimeo, Reddit, Imgur, GitHub, DigitalOcean, NPM, PayPal, dll

Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows

@gubatron
gubatron / multiple-deploy-keys-multiple-private-repos-github-ssh-config.md
Last active October 12, 2024 22:57
How to configure multiple deploy keys for different private github repositories on the same computer without using ssh-agent

How to configure multiple deploy keys for different private github repositories on the same computer without using ssh-agent

Let's say alice is a github.com user, with 2 or more private repositories repoN. For this example we'll work with just two repositories named repo1 and repo2

https://github.com/alice/repo1

https://github.com/alice/repo2

You need to be to pull from these repositories without entering a passwords probably on a server, or on multiple servers.

@dloman
dloman / xvfb
Last active September 12, 2023 12:32 — forked from jterrace/xvfb
### BEGIN INIT INFO
# Provides: Xvfb
# Required-Start: $local_fs $remote_fs
# Required-Stop:
# X-Start-Before:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Loads X Virtual Frame Buffer
### END INIT INFO
@fideloper
fideloper / install.sh
Last active October 30, 2023 20:03
Vagrant Provisioning Script for PHP applications. This installs a LAMP stack.
#!/usr/bin/env bash
echo ">>> Starting Install Script"
# Update
sudo apt-get update
# Install MySQL without prompt
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'