sudo apt install pacman
pacman --needed -S bash pacman pacman-mirrors msys2-runtime
mkdir build
cd build
../cmake/build_win64.sh
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
http://yysource.com/2011/03/debugging-with-css-outline-all-elements/ | |
* { outline: 2px dotted red } | |
* * { outline: 2px dotted green } | |
* * * { outline: 2px dotted orange } | |
* * * * { outline: 2px dotted blue } | |
* * * * * { outline: 1px solid red } | |
* * * * * * { outline: 1px solid green } | |
* * * * * * * { outline: 1px solid orange } | |
* * * * * * * * { outline: 1px solid blue } |
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
http://qrdroid.com/generate/ | |
https://chrome.google.com/webstore/detail/the-qr-code-generator/s | |
http://www.waspbarcode.com/qr-code-generator | |
http://www.visualead.com/qurify2/ | |
http://www.visualead.com/qr-code-generator/ | |
http://delivr.com/qr-code-generator | |
https://scan.me/qr-code-generator | |
http://qrcode.littleidiot.be/ | |
http://www.qrcode-monkey.com/ | |
https://www.unitag.io/qrcode |
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
import glob | |
import mariadb | |
import sys | |
# Semi automated - routing file generator for Angular | |
# | |
# Usage: | |
# pythoh routes-scanner.py > app-routing.module.ts | |
fourzerofour_handler = "front/front-pagenotfound" |
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
# INSERT | |
# -- before: Check uniqueness | |
# -- after: | |
# UPDATE | |
# -- before: Log old data | |
# -- after: Email admin queue | |
# DELETE | |
# -- before: check for dues | |
# -- after: System cleanup |
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
How to Block IP Addresses with PHP | |
http://perishablepress.com/how-to-block-ip-addresses-with-php/ | |
<?php | |
$deny = array("111.111.111", "222.222.222", "333.333.333"); | |
if (in_array ($_SERVER['REMOTE_ADDR'], $deny)) { | |
header("location: http://www.google.com/"); | |
exit(); | |
} ?> |
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
#pragma once | |
/** | |
* Purpose: Deep scan directories for a search pattern in known file extensions. | |
* | |
* Usage: | |
* | |
* SamplesScanner sc = SamplesScanner(); | |
* QString path = "D:\\lmms\\build\\Debug\\data\\samples"; | |
* QString pattern = "*.ds"; |
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
using api.general; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace console | |
{ | |
class run |
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
import { Injectable } from '@angular/core'; | |
import { HttpClient, HttpHeaders } from '@angular/common/http'; | |
import { CredentialsDTO, EndpointDTO, NameValueDTO } from './objects'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class ApiService { | |
private _gateway = "https://localhost:5001"; |
NewerOlder