Skip to content

Instantly share code, notes, and snippets.

View nadoneves's full-sized avatar

Leonardo Neves nadoneves

View GitHub Profile
@nadoneves
nadoneves / workbench-ui-fix.sh
Created September 17, 2019 21:38 — forked from AmreeshTyagi/workbench-ui-fix.sh
Exclude MySQL Workbench from dark theme with mojave Mac dark theme
#!/bin/bash
defaults write com.oracle.workbench.MySQLWorkbench NSRequiresAquaSystemAppearance -bool yes
echo "Successfully patched!"
echo "Now restart MySQL Workbench to see the Workbench in light theme."
#Restart MySQL Workbench after executing this.
@nadoneves
nadoneves / dynamicPagRepeatAngular.html
Last active August 29, 2015 14:26 — forked from kmaida/dynamicPagRepeatAngular.html
AngularJS - Dynamic pagination on ng-repeat with search/filtering. Use with ui.bootstrap
<!DOCTYPE HTML>
<html lang="en" ng-app="myApp">
<head>
<meta charset="utf-8">
<title>Dynamic Pagination w/ Filtering</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Kim Maida">
<!-- JS Libraries -->
var readline = require('readline');
// Criando objeto que instacia a pergunta
var rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
var r;