- A bit of Vim - a book which aims to help you to learn how to use the Vim editor.
- A.W.E.S.O.M. O - The really big list of really interesting open source projects.
- AMP Project - The project enables the creation of websites and ads that are consistently fast, beautiful and high-performing across devices and distribution platforms.
- APE - Angular JS REST Client.
- ASCII Art - Real-Time ASCII Art Rendering Library
- AST Explorer - A web tool to explore the ASTs generated by various parsers.
- Advanced Bash-Scripting Guide - An in-depth exploration of the art of shell scripting by Mendel Cooper.
- Advent of Code - is a series of small programming puzzles for a variety of skill levels.
<script> | |
jQuery("video-iframe")[0].src += "&autoplay=1"; | |
</script> |
############################# | |
##### Magic script v1.01 #### | |
############################# | |
# Ask for elevated permissions if required | |
If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator")) { | |
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs | |
Exit | |
} |
import re, urllib.request | |
query = input() | |
rgx = re.split(r'((http|https):\/\/)?(www\.)?(facebook|fb)\.com\/([.a-z0-9]+)', query.lower()) | |
name = rgx[0] if len(rgx) == 1 else rgx[5] | |
redirected = urllib.request.urlopen(f'https://m.me/{name}').geturl().split('%2F') |
- Javascript Tutorial With Programming With Mosh.
https://www.youtube.com/playlist?list=PLTjRvDozrdlxEIuOBZkMAK5uiqp8rHUax
I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.
Each file should be put in /usr/local/vesta/data/templates/web/apache2
Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html
<?php | |
// For more details see: http://laraget.com/blog/implementing-infinite-scroll-pagination-using-laravel-and-jscroll | |
namespace App\Http\Controllers\InfiniteScrolling; | |
use App\Comment; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; |
As it turns out, it is not trivial to control the audio volume of an Android device using ADB. At the time of writing, the only way appears to be using the service
tool. Actually, the service
command allows to "connect" to a number of services (104 on Android 6.0.1) and invoke functions. Not knowing much about this tool, I managed to completely mute all sounds and speakers of my Nexus 5, and I was stuck without any sound for quite some time. I did not find a way to unmute the sound from within the system UI, so I got to dive a little deeper into this.
If you know which service you want to use, you then need to find its interface declaration. The command
service list
gives you a list of all services with the associated interfaces, if applicable:
...
26 backup: [android.app.backup.IBackupManager]
Download : https://mega.nz/file/QJhhwQpB#iA7Mxroca9NtUuI_HuwOp5l0l3Rpppvq4Ss8fqVBgu0
After decompression:
$ chmod +x acunetix_13.0.200217097_x64_.sh
$ ./acunetix_13.0.200217097_x64_.sh
$ cp Crack/wvsc /home/acunetix/.acunetix/v_200217097/scanner/
$ cp Crack/license_info.json /home/acunetix/.acunetix/data/license/
// Takes a credit card string value and returns true on valid number | |
function valid_credit_card(value) { | |
// Accept only digits, dashes or spaces | |
if (/[^0-9-\s]+/.test(value)) return false; | |
// The Luhn Algorithm. It's so pretty. | |
let nCheck = 0, bEven = false; | |
value = value.replace(/\D/g, ""); | |
for (var n = value.length - 1; n >= 0; n--) { |