for i in {1..100}; do cp test.ogg "test_$i.ogg" ; done
find . -type f | wc -l
{"lastUpload":"2022-04-26T18:56:34.953Z","extensionVersion":"v3.4.3"} |
/** | |
* php line debug | |
*/ | |
function debug_log($data) { | |
$filename = realpath(__DIR__ . './debug.log'); | |
if (!file_exists($filename) || !is_writable($filename)) { | |
return; | |
} | |
file_put_contents($filename, sprintf("[%s] %s \n", |
int dow(int y, int m, int d) { | |
static int t[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4}; | |
y -= m < 3; | |
return (y + y/4 - y/100 + y/400 + t[m-1] + d) % 7; | |
} |
SELECT convert(varchar, getdate(), 100) -- mon dd yyyy hh:mmAM (or PM) | |
-- Oct 2 2008 11:01AM | |
SELECT convert(varchar, getdate(), 101) -- mm/dd/yyyy - 10/02/2008 | |
SELECT convert(varchar, getdate(), 102) -- yyyy.mm.dd – 2008.10.02 | |
SELECT convert(varchar, getdate(), 103) -- dd/mm/yyyy | |
SELECT convert(varchar, getdate(), 104) -- dd.mm.yyyy | |
SELECT convert(varchar, getdate(), 105) -- dd-mm-yyyy | |
SELECT convert(varchar, getdate(), 106) -- dd mon yyyy | |
SELECT convert(varchar, getdate(), 107) -- mon dd, yyyy | |
SELECT convert(varchar, getdate(), 108) -- hh:mm:ss |
<cfset fontobj = createobject("java","com.adobe.fontengine.fontmanagement.FontLoader")> | |
<cfdirectory action="list" directory="c:\windows\fonts" name="fontdir"> | |
<table border="1" style="border-collapse:collapse"> | |
<tr> | |
<th>Font Name:</th> | |
<th>Error</th> | |
</tr> | |
<cfloop query="fontdir"> | |
<cftry> | |
<cfset loaded = fontobj.load(createobject("java","java.net.URL").init("file:///C|/windows/fonts/#fontdir.name#"))> |
{ | |
occupation : "software developer" | |
,field : "web" | |
,passion : ["coding","web","technology","music"] | |
,hobies : ["music production","deejaying"] | |
,sports : ["tennis","bicycling","skiing","swimming"] | |
} |
<snippet> | |
<content> | |
<![CDATA[ | |
<cfcomponent | |
displayname="${1:newComponent}" | |
output="true" | |
hint=""> | |
<cffunction |
<snippet> | |
<content> | |
<![CDATA[ | |
<cfcomponent | |
displayname="Application" | |
output="true" | |
hint="Handle the application."> | |
ECHO OFF | |
CLS | |
:MENU | |
ECHO. | |
ECHO ............................................... | |
ECHO SELECT SERVER or 0 to EXIT. | |
ECHO ............................................... | |
ECHO. | |
ECHO 1 - BACKUP INSTANCE SERVERNAME\INSTANCENAME | |
ECHO 0 - EXIT |