Skip to content

Instantly share code, notes, and snippets.

Zeh Fernandes zehfernandes

Block or report user

Report or block zehfernandes

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
zehfernandes / App.js
Last active Nov 14, 2018
Workshop React Native - Part 2
View App.js
import React from "react";
import { StyleSheet, Text, View } from "react-native";
import { createStackNavigator } from "react-navigation";
import HomePage from "./pages/Home";
import CheckinPage from "./pages/Checkin";
export default createStackNavigator(
Home: {
zehfernandes / Home01.js
Created Nov 14, 2018
Workshop React Native - Part I
View Home01.js
import React from "react";
import {
} from "react-native";
const { width, height } = Dimensions.get("window");
export default class Home extends React.Component {
View autplayFallback.js
videos = document.querySelectorAll('video')
videos.forEach(function(element) {
var promise =;
if (promise !== undefined) {
promise.then(_ => {
// Autoplay started!
}).catch(error => {
{InputLayer} = require "input"
# Loop to all layers and find the inputs
inputs = Framer.CurrentContext._layers.filter((a) =>
return == "input"
# Replace the inputs
for l in inputs
# map propertie by properties
zehfernandes / pliim-turnOff.scpt
Last active Aug 25, 2019
One click and be ready to go up on stage and shine! -
View pliim-turnOff.scpt
# Turn on Notifications
do shell script "defaults -currentHost write doNotDisturb -bool FALSE; defaults -currentHost delete doNotDisturbDate; osascript -e 'quit application \"NotificationCenter\" ' && killall usernoted" -- this set 'Do not disturb' to false in the pref
# Show Desktop
do shell script "defaults write CreateDesktop -bool true; killall Finder"
# Show all windows
tell application "System Events"
set visible of (every process) to true
end tell
View imagesToKeynote.applescript
tell application "Finder"
set folderFiles to (choose folder with prompt "Please select directory.")
set file_list to name of every file of entire contents of folderFiles
end tell
tell application "Keynote"
tell the front document
repeat with fileName in file_list
set the newSlide to make new slide

Keybase proof

I hereby claim:

  • I am zehfernandes on github.
  • I am zehfernandes ( on keybase.
  • I have a public key ASC0fwgIxAPs4-sKv2NbIni9YWyQ_vs1Y5GiWpqwvQ5I7Ao

To claim this, I am signing this object:

View cutmovie.js
const ffmpeg = require('fluent-ffmpeg');
const moment = require('moment');
var myArgs = process.argv.slice(2);
//Convert Video
var filePath = myArgs[0];
var startTime = moment(myArgs[1], "HH:mm:ss.SSS");
var endTime = moment(myArgs[2], "HH:mm:ss.SSS");
var fileOutput = myArgs[3];
zehfernandes /
Last active Feb 26, 2016
Superscript compile tricks


^createUserFact(subject, predicate, value)
^createfact(^object color ^color) 


You can’t perform that action at this time.