Skip to content

Instantly share code, notes, and snippets.

View emtee40's full-sized avatar

emtee40 emtee40

View GitHub Profile
<svg height="100%" width="100%" viewBox="0 0 1200 598" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink">
<image xlink:href="//dxuu1kmv6dm3n.cloudfront.net/frontpage/old_way_arrows.png" x="200" y="0" height="598px" width="800px"/>
<text x="530" y="110" text-anchor="end" font-family="'Bad Script', cursive" font-size="35">
{% trans "Cut'n'pasting" %}
</text>
<text x="320" y="275" text-anchor="end" font-family="'Bad Script', cursive" font-size="35">
{% trans "Manual work" %}
</text>
@emtee40
emtee40 / contenteditable.html
Created February 2, 2022 10:26
data:text/html, <html contenteditable> with some extra styling to make it easier to use. Just copy/paste the code in your browser and type away. Or make it a bookmarklet.
data:text/html;charset=utf-8,<title>TextEditor</title><style>body{background:#fbfbfb;color:#333;margin:0%50auto;width:100%}textarea{background:#fbfbfb;border:0;color:#333;font-family:sans-serif;font-size:2rem;height:98%;line-height:1.4;margin:0%20auto;outline:0;padding:4rem;width:100%}button{background-color:#fbfbfb;border:1px%20#ccc%20solid;color:#999;cursor:pointer;float:right;margin:10px%200;padding:5px%2010px}@media%20(max-width:100%){body{width:100%;padding:0}textarea{padding:10px}button{float:none}}</style><body><button%20onclick="sM();%20return%20false">Email%20this</button><textarea%20contenteditable%20id=TE%20spellcheck=false%20placeholder=Write...%20autofocus></textarea><script>function%20sM(){var%20a="mailto:?subject="+escape("Text%20from%20TextEditor")+"&body="+escape(document.getElementById("TE").value);window.location.href=a};</script>
@emtee40
emtee40 / PreventF12.js
Last active April 5, 2022 10:51
Prevent browser console
window.onload = function () {
document.addEventListener("contextmenu", function () {
e.preventDefault();
}, false);
document.addEventListener("keydown", function (e) {
if (event.keyCode === 123) {
disabledEvent(e);
}
}, false);
function disabledEvent(e) {
@emtee40
emtee40 / Google-search-parameters-query.js.txt
Last active April 25, 2022 00:01 — forked from cx-shay-shimonov/gist:4b1f6616a7afabc1ce2a
google-search-url-parameters-query-string
// ==UserScript==
// @name Google Search Better Privacy
// @description Delete unnecessary params and add useful params on Google Search.
// @version 0.0.4
// @include http://*.google.*/search*
// @include http://*.google.*/imgres*
// @include https://*.google.*/search*
// @include https://*.google.*/imgres*
// @exclude http://play.google.com/*
// @exclude http://mail.google.com/*

Google Clone

A fully functional replica of Google's main page, you can use it for searches and everything else. Styled with CSS to look as close as possible to current google main page, a bit of jquery magic to make it fully functional.

A Pen by Francesco Agnoletto on CodePen.

License.

ScreenShot

@emtee40
emtee40 / FFmpeg-Basic-Subtitle-Commands.md
Created June 30, 2022 07:12
Basic commands for subtitles using FFmpeg

FFmpeg Basic Subtitle Commands

Steps

  • Download FFmpeg
  • Extract it and save it to C drive (choose any location - it's optional)
  • Set environment variable - copy the location of bin folder which is inside the extracted file and set the location on system path variable.
  • Done!
@emtee40
emtee40 / asus c201.md
Created July 18, 2022 01:17 — forked from jcs/asus c201.md
Disabling SPI write protection, reflashing, and unbricking an Asus Chromebook C201

####Disabling SPI write protection

Put the Chromebook in developer-mode:

  • With machine powered off, hold down Esc and Refresh(F3) while hitting power button
  • At warning prompt, hit Control+D, then Enter at prompt about enabling developer mode
  • Machine will format itself

Now remove the write-protect screw to enable flashrom to flash new Coreboot/Libreboot.

Flip powered-off machine over and remove 8 philips-head screws. 2 are located under rubber feet.

@emtee40
emtee40 / exploreonlinesolutions.sh
Created April 29, 2023 05:13 — forked from desbest/exploreonlinesolutions.sh
Reset Windows Update Agent
:: Explore other online solutions.
:: void online();
:: /*************************************************************************************/
:online
call :print Looking for solutions Online.
start https://support.microsoft.com/en-us/gp/windows-update-issues/
goto :eof
:: /*************************************************************************************/
We can't make this file beautiful and searchable because it's too large.
App,Category,Rating,Reviews,Size,Installs,Type,Price,Content Rating,Genres,Last Updated,Current Ver,Android Ver
Photo Editor & Candy Camera & Grid & ScrapBook,ART_AND_DESIGN,4.1,159,19M,"10,000+",Free,0,Everyone,Art & Design,"January 7, 2018",1.0.0,4.0.3 and up
Coloring book moana,ART_AND_DESIGN,3.9,967,14M,"500,000+",Free,0,Everyone,Art & Design;Pretend Play,"January 15, 2018",2.0.0,4.0.3 and up
"U Launcher Lite – FREE Live Cool Themes, Hide Apps",ART_AND_DESIGN,4.7,87510,8.7M,"5,000,000+",Free,0,Everyone,Art & Design,"August 1, 2018",1.2.4,4.0.3 and up
Sketch - Draw & Paint,ART_AND_DESIGN,4.5,215644,25M,"50,000,000+",Free,0,Teen,Art & Design,"June 8, 2018",Varies with device,4.2 and up
Pixel Draw - Number Art Coloring Book,ART_AND_DESIGN,4.3,967,2.8M,"100,000+",Free,0,Everyone,Art & Design;Creativity,"June 20, 2018",1.1,4.4 and up
Paper flowers instructions,ART_AND_DESIGN,4.4,167,5.6M,"50,000+",Free,0,Everyone,Art & Design,"March 26, 2017",1.0,2.3 and up
Smoke Effect Photo Maker - Smoke Editor,ART_AND_DESIG