Skip to content

Instantly share code, notes, and snippets.

Oscar Arzola arzola

Block or report user

Report or block arzola

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
@watanabeyu
watanabeyu / MainTabNavigator.js
Created Feb 9, 2018
react-navigationのtabNavigatorの背景色を変更する
View MainTabNavigator.js
const tabNavigator = TabNavigator(
{
Home: { screen: HomeScreen },
Search: { screen: HomeScreen }
},
{
tabBarOptions: {
showLabel: false,
activeTintColor: '#333',
inactiveTintColor: '#bbb',
@hikari-no-yume
hikari-no-yume / example.php
Created Mar 20, 2017
function chaining for PHP 7
View example.php
<?php declare(strict_types=1);
require_once "✨.🐘";
✨($_)->strlen("foo")->var_dump($_);
View gist:3138cf7753b6814d37b606764fb9efaf
# tunnel online
ngrok tcp 3306
# connection
user=root
pass=techne
host=0.tcp.ngrok.io
port=16799
mysql -u$user -h$host -P$port -p$pass
@shaheemirza
shaheemirza / phpmd-ruleset.xml
Created Dec 27, 2016 — forked from slayerfat/phpmd-ruleset.xml
php mess detector ruleset for laravel and similar frameworks
View phpmd-ruleset.xml
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Laravel and similar phpmd ruleset"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>
Inspired by https://github.com/phpmd/phpmd/issues/137
using http://phpmd.org/documentation/creating-a-ruleset.html
</description>
@akshaynagpal
akshaynagpal / LinkedList.java
Last active Oct 12, 2019
Linked List From Scratch in Java
View LinkedList.java
package src.LinkedList;
public class LinkedList {
public Node head;
public int listCount;
public LinkedList(){
head = new Node(0);
listCount = 0;
}
@paulallies
paulallies / gist:0052fab554b14bbfa3ef
Last active Nov 9, 2019
Remove node_modules from git repo
View gist:0052fab554b14bbfa3ef
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
@krisanalfa
krisanalfa / macosx-install-php-oracle-oci8-pdo_oci.md
Last active Oct 25, 2019 — forked from gido/macosx-install-php-oracle-oci8.md
Install OCI8 and / or PDO_OCI on OSX via Brew
View macosx-install-php-oracle-oci8-pdo_oci.md

Installation

This procedure is tested on Mac OS X 10.10.5 with Developpers tools installed (xCode).

PHP 5.6 installed with Homebrew.

Preparation

Download the following files from Oracle website (yes, you need to create an account and accept terms):

View Change IOS Nav Bar to Stock Color
[[UINavigationBar appearance] setBarTintColor:[UIColor yellowColor]];
@dmouse
dmouse / composer.json
Last active Sep 18, 2019
Run composer command from php script, controller, web,
View composer.json
{
"name": "hechoendrupal/composer-ui",
"description": "Composer UI",
"minimum-stability": "dev",
"authors": [
{
"name": "David Flore",
"email": "dmouse.x@gmail.com"
}
],
@dearaujoj
dearaujoj / remove_git_tag
Created Oct 22, 2013
git remove tag locally and remote
View remove_git_tag
git tag -d TagName && git push origin :refs/tags/TagName
You can’t perform that action at this time.