This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nano /etc/default/grub | |
find & add consoleblank=0 to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash consoleblank=0" | |
sudo update-grub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
q = document.getElementById('q'); | |
setTimeout(function(){ q.selectionStart = q.selectionEnd = 10000; }, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Drag the following link into your Bookmarks Bar</p> | |
<a href="javascript:i=prompt('Search Laravel 7 Docs for');if(i)location.href='https://www.google.com/search?q=site:laravel.com/docs/7.x '+escape(i);">L7 Docs</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DANGEROUS! | |
# Run only if you understand completely what you are doing. | |
# In your Powershell as Administrator prompt: | |
Get-AppxPackage -allusers | Remove-AppxPackage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#as sudo | |
zfs set compression=lz4 containers | |
zfs get compressratio containers | |
lxc config set images.auto_update_cached true | |
lxc config set images.remote_cache_expiry 1 | |
lxc config set images.auto_update_interval 0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open Command Prompt as Administrator | |
assoc .="No Extension" | |
ftype "No Extension"="C:\Program Files (x86)\Notepad++\notepad++.exe" "%1" | |
assoc "No Extension"\DefaultIcon=%SystemRoot%\System32\imageres.dll,-102 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Blade::if('edit', function () { | |
return ( request()->route()->getActionMethod()==='edit'); | |
}); | |
Blade::if('create', function () { | |
return ( request()->route()->getActionMethod()==='create'); | |
}); | |
Blade::if('index', function () { | |
return ( request()->route()->getActionMethod()==='index'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Drag the following link into your Bookmarks Bar</p> | |
<a href="javascript:i=prompt('Search Google for JS in last two years');if(i)location.href='https://www.google.com/search?q='+escape(i)+' -angular -vue -ember -react -jquery js javascript after:'+((new Date()).getFullYear()-2)+'-01-01';">JS</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
git remote add origin git@github.com:USERNAME/REPOSITORY.git | |
git add * | |
git commit -am 'Init' | |
git push -f origin HEAD:main | |
OlderNewer