Skip to content

Instantly share code, notes, and snippets.

John Cyrill Corsanes jcchikikomori

Block or report user

Report or block jcchikikomori

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jcchikikomori
jcchikikomori / wordpress-plugin-svn-to-git.md
Created Aug 13, 2019 — forked from kasparsd/wordpress-plugin-svn-to-git.md
Using Git with Subversion Mirroring for WordPress Plugin Development
View wordpress-plugin-svn-to-git.md
@jcchikikomori
jcchikikomori / .antigen-zshrc
Created Jul 31, 2019
ARCH LINUX TERMINAL CONFIGS
View .antigen-zshrc
# Add Antigen
source ~/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundles <<EOBUNDLES
archlinux
common-aliases
View wpinstall.sh
#!/bin/bash -e
clear
echo "============================================"
echo "Nginx configuration files"
echo "============================================"
# Check if the global directory exists
DIRECTORY="/etc/nginx/global"
if [ ! -d "$DIRECTORY" ]; then
# Create the directory
View enhancer-youtube.json
{"version":"2.0.93","settings":{"autofocusevents":"ads,annotations,cinema,size,boost,loop,speed,filters","autopausevideos":true,"backgroundcolor":"#000000","backgroundopacity":85,"blur":0,"brightness":100,"cinemamode":false,"cinemamodewideplayer":true,"contrast":100,"controlvolume":false,"controlvolumemousebutton":false,"customtheme":"","date":1554966612924,"defaultvolume":false,"disableautoplay":true,"disablepreloading":true,"enablefilters":false,"executescript":false,"expanddescription":false,"grayscale":0,"huerotate":0,"filter":"none","ignoreplaylists":true,"message":false,"invert":0,"newestcomments":false,"overridespeeds":true,"pauseforegroundtab":false,"pausevideos":true,"permissions":true,"pinnedplayer":true,"pinnedplayerposition":"_top-left","pinnedplayersize":"_400x225","quality1":"hd720","quality2":"large","quality3":"medium","quality4":"small","removeads":true,"removeannotations":false,"reversemousewheeldirection":false,"saturate":100,"script":"","selectquality":true,"sepia":0,"slideeffect":false,"s
@jcchikikomori
jcchikikomori / countdown.js
Last active Jul 8, 2019
Native JavaScript Countdown script (JQuery required. Will be updated very soon)
View countdown.js
/**
* John Cyrill Corsanes
* https://jsfiddle.net/jccultima123/L4tdpuc6/
*
* NOTE: Manually set this function with intervals on target pages
* to avoid issues came from turbolinks
*
* SAMPLE:
* ```
* $(function() {
@jcchikikomori
jcchikikomori / countdown_timer.html
Last active Jul 3, 2019 — forked from shatoneru/countdown_timer.html
ZAWARDO (The World) -- JavaScript (jQuery) でカウントダウンタイマーを書く ref: http://qiita.com/mugyuu/items/45ee16aca2972abf7c7d
View countdown_timer.html
<script type="text/javascript">
$(function() {
countDown();
});
function countDown() {
var startDateTime = new Date();
var endDateTime = new Date("January 01,2014 00:00:00");
var left = endDateTime - startDateTime;
var a_day = 24 * 60 * 60 * 1000;
View jquery-scrollintoview.mod.js
/*!
* jQuery scrollintoview() plugin and :scrollable selector filter
*
* Version 1.9 (17 Jun 2019)
* Requires jQuery 1.4 or newer
*
* Forked version (1.8) by John Cyrill Corsanes
* https://gist.github.com/jcchikikomori/1cc91a4edd58b0991f67fd25cf9340e5
*
* Copyright (c) 2011 Robert Koritnik
View modifiers.scss
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
// Sass modifiers mixin by Sarah Dayan
// Generate All Your Utility Classes with Sass Maps: frontstuff.io/generate-all-your-utility-classes-with-sass-maps
// http://frontstuff.io
// https://github.com/sarahdayan
@jcchikikomori
jcchikikomori / rename_script.sh
Created Jun 14, 2019 — forked from giannis/rename_script.sh
Renaming script for shell
View rename_script.sh
#!/bin/bash
# this is a renaming script
# @arguments:
# -f filename the filename to add (optional)
# -p path the folder to path to run (optional)
# -r if set runs recuresively
#
# it renames the files inside the folder
# adds a sequential number filename (01).jpg etc
# if no filename specified there is the option to use
@jcchikikomori
jcchikikomori / xampp-local-linux-setup.sh
Last active Jun 14, 2019
XAMPP Local Setup for Linux. Fixes htdocs
View xampp-local-linux-setup.sh
#!/bin/bash
LAMPP_DIR="/opt/lampp"
XAMPP_DIR="c:/xampp"
LAMPP=$LAMPP_DIR/lampp
# Get OS type
case "$OSTYPE" in
cygwin*)
You can’t perform that action at this time.