Uncategorized

Happy Pi Day

Yes, it is in American date format, but close enough! 3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019…

Continue reading

Windows

Disable the Wi-Fi connection from command line in Windows

Get the Interface Name: netsh interface show interface Enable the interface: netsh interface set interface “Interface Name” enable Disable the interface: netsh interface set interface “Interface Name” disable However, we need administrator access to bring the interface up or down. You could open a command prompt in admin level to achieve this. The runas command ensures that the command is ran as administrator, so to disable/enable the Wi-Fi would be C:\Windows\System32\runas.exe /user:administrator “C:\Windows\System32\netsh.exe interface set…

Continue reading

Linux

Using CRON hourly, daily folders

Built into most crontabs is the functionality to run scripts hourly, daily, weekly or monthly. All that is requires is that you create a bash file and place it in a folder. It will automagically run – no CRON reload. There are a few tricks. The file cannot have an extension or spaces The file must be executable. The folders are /etc/cron.hourly /etc/cron.daily /etc/cron.weekly /ect/cron.monthly You can check if the file is accepted by running…

Continue reading

cPanel

Unlock IP on CPHULK

You have managed to lock yourself out of the WHM interface – but still have SSH to your server. You need to clear the IP address out of the black listed IPs This will clear all banned IPs mysql connect cphulkd delete from brutes; delete from logins; You can see a list of locked IPs using these commands select IP, BRUTETIME from brutes order by BRUTETIME; select IP, LOGINTIME FROM logins order by LOGINTIME; There…

Continue reading

HTML

Special Characters in HTML

left single quote   ’ ’   right single quote   ’ ’   single low-9 quote   ‚ ‚   left double quote   ” ”   right double quote   ” ”   double low-9 quote   „ „   dagger   † †   double dagger   ‡ ‡   per mill sign   ‰ ‰   single left-pointing angle quote   ‹ ‹   single right-pointing angle quote   › ›…

Continue reading

HTML

ASCII Table

Decimal Octal Hex Binary Value Notes 000 000 000 00000000 NUL (Null char.) 001 001 001 00000001 SOH (Start of Header) 002 002 002 00000010 STX (Start of Text) 003 003 003 00000011 ETX (End of Text) 004 004 004 00000100 EOT (End of Transmission) 005 005 005 00000101 ENQ (Enquiry) 006 006 006 00000110 ACK (Acknowledgment) 007 007 007 00000111 BEL (Bell) 008 010 008 00001000 BS (Backspace) 009 011 009 00001001 HT (Horizontal…

Continue reading