Skip to content

Instantly share code, notes, and snippets.

@JeffreyNaval
JeffreyNaval / Sublime Settings.md
Last active February 15, 2016 02:14
Sublime Settings

Sublime Settings

{
"private": true,
"engines": {
"node": ">=0.10.0"
},
"devDependencies": {
"apache-server-configs": "^2.7.1",
"connect": "^3.0.1",
"connect-livereload": "^0.5.0",
"del": "^0.1.0",
@JeffreyNaval
JeffreyNaval / fix.md
Last active August 29, 2015 14:25
Fix "/usr/bin/env: node: No such file or directory"

Fix "/usr/bin/env: node: No such file or directory"

Comment: digitalmediums commented on Sep 28, 2012

if you install from a package manager you bin may be called nodejs so you just need to symlink it like so "ln -s /usr/bin/nodejs /usr/bin/node"

Source: nodejs/node-v0.x-archive#3911 (comment)

[
{
"name": "Ninoy Aquino International Airport",
"iata": "MNL",
"iso": "PH"
},
{
"name": "Mactan Cebu International Airport",
"iata": "CEB",
"iso": "PH"
<!DOCTYPE html>
<!-- saved from url=(0050)https://colorlib.com/polygon/gentelella/login.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gentallela Alela! | </title>
@JeffreyNaval
JeffreyNaval / deploy.sh
Last active January 20, 2017 12:33
Laravel Deployment Script
# Enable Maintenance Mode
php artisan down
# Update git
git pull origin master
# Update vendor
composer install --no-interaction --no-dev --prefer-dist
# Update database

NVIDIA

Launch Nvidia control panel, press Manage 3D settings and set settings like this:

  • Ambient Occlusion: off
  • Anistropic Filtering: off
  • Antialiasing - FXAA: off
  • Antialiasing - Gamma correction: off
@JeffreyNaval
JeffreyNaval / DropDown.vue
Last active June 8, 2019 06:03
New Laravel
<template>
<div class="relative" v-click-outside="closeDropdown">
<slot name="button" v-bind:toggle="toggle"></slot>
<transition
enter-active-class="transition-all transition-fastest ease-out-quad"
leave-active-class="transition-all transition-faster ease-in-quad"
enter-class="opacity-0 scale-70"
enter-to-class="opacity-100 scale-100"
leave-class="opacity-100 scale-100"
leave-to-class="opacity-0 scale-70"
@JeffreyNaval
JeffreyNaval / new.sh
Last active February 27, 2020 08:46
New Laravel - Tailwind Project
composer require laravel-frontend-presets/tailwindcss --dev
php artisan preset tailwindcss-auth
# https://github.com/adamwathan/blade-svg
composer require nothingworks/blade-svg
php artisan vendor:publish --provider="BladeSvg\BladeSvgServiceProvider"
# Queues
composer require predis/predis ~1.0
# php artisan queue:failed-table