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
-----BEGIN CERTIFICATE----- | |
MIIFzTCCA7WgAwIBAgIUN3NWWg8d/T5LaWQWp5iuGti/Y/wwDQYJKoZIhvcNAQEL | |
BQAwdjEkMCIGA1UEAwwbUHJveG1veCBWaXJ0dWFsIEVudmlyb25tZW50MS0wKwYD | |
VQQLDCQwMjNkMjEzYi1mNjcwLTQzNTQtYmFhMC0zYTdmMTFkZTdkMWExHzAdBgNV | |
BAoMFlBWRSBDbHVzdGVyIE1hbmFnZXIgQ0EwHhcNMjQwNzEwMTExNjU1WhcNMzQw | |
NzA4MTExNjU1WjB2MSQwIgYDVQQDDBtQcm94bW94IFZpcnR1YWwgRW52aXJvbm1l | |
bnQxLTArBgNVBAsMJDAyM2QyMTNiLWY2NzAtNDM1NC1iYWEwLTNhN2YxMWRlN2Qx | |
YTEfMB0GA1UECgwWUFZFIENsdXN0ZXIgTWFuYWdlciBDQTCCAiIwDQYJKoZIhvcN | |
AQEBBQADggIPADCCAgoCggIBANpTU0NztokHGiwXm6Z8U1+ezTpUthXLdLo9RLnt | |
Eld+9ln7jDTjM6fLvzYY1nG/xIqV+mwO3LyZ6Er4C4uy18XaKUlg6NhTc75BB5Tw |
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
Matching IP Addresses (Sample Input 192.168.0.1, 14 Steps) | |
^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$ | |
Matching Email Addresses (Sample Input [email protected], 12 Steps) | |
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ | |
Matching URLs (Sample Input https://example.com/exmple?a=1&b=1&c=1, 14 Steps) | |
^(?:https?|ftp):\/\/[^\s\/$.?#].[^\s]*$ |
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
#pronamaChan { | |
position: fixed; | |
bottom: 45px; | |
right: 120px; | |
opacity: .7; | |
z-index: 10; | |
} | |
#pronamaChan i { | |
display: block; |
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
private void SyncGPSTime() | |
{ | |
if (!privileged) | |
privileged = EnableTimesync(); | |
var time = new SYSTEMTIME(); | |
var GPSSerial = new SerialPort() | |
{ | |
PortName = setting.ports.gps, | |
BaudRate = 9600, |
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
<?php | |
// utility | |
function rrmdir($dir) { | |
if (is_dir($dir)) { | |
$objects = scandir($dir); | |
foreach ($objects as $object) { | |
if ($object != "." && $object != "..") { | |
if (filetype($dir."/".$object) == "dir") rrmdir($dir."/".$object); else unlink($dir."/".$object); | |
} | |
} |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#define ALLOC ((unsigned char*)malloc(56)) | |
#define A(x) (x & 0x4) | |
#define M(x) (x & 0x2) | |
#define P(x) (x & 0x1) | |
#define PTR(x) ((void*)x) | |
#define CHUNK_PTR(x) ((allocated_chunk*)(x - 8)) | |
#define FREE_CHUNK(x) ((freed_chunk*)(x)) |
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
<?php | |
/* | |
* A simple PHP file for Region Select API | |
* By P.Knowledge (0x00000FF) | |
* | |
* Data source from Namuwiki, 2020/11/04 | |
*/ | |
header("content-type: application/json"); |
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
<style> | |
@media print { * { display: none } } | |
</style> | |
<script> | |
document.addEventListener("contextmenu", function (e) { | |
e.preventDefault(); | |
}); | |
document.addEventListener("mousedown", function (e) { |
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
// CoreLoad.cs Ln 412から | |
private bool AreTheseClose(int cmp1, int cmp2) | |
{ | |
return Math.Abs(cmp1 - cmp2) < 25; | |
} | |
// タイトルバーのドラッグ終了 | |
private void TitleBar_MouseUp(object sender, MouseEventArgs e) | |
{ |
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
/* | |
* Article/Comment Deletion Agent for Everytime service | |
* Available for .NET Framework/Core | |
* | |
* Newtonsoft.Json Required for Json Deserialization | |
* Json Types for Deserialization is under the Cleaner class | |
*/ | |
using System.Collections.Generic; | |
using System.Text; |
NewerOlder