This file contains hidden or 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
#define WIN32_LEAN_AND_MEAN // just say no to MFC | |
#define INIT_GUID | |
#include "hge.h" | |
#include <hgesprite.h> | |
#include <hgefont.h> | |
#include <hgecolor.h> |
This file contains hidden or 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
name of display: :0.0 | |
display: :0 screen: 0 | |
direct rendering: Yes | |
Extended renderer info (GLX_MESA_query_renderer): | |
Vendor: Mesa/X.org (0xffffffff) | |
Device: llvmpipe (LLVM 9.0.1, 128 bits) (0xffffffff) | |
Version: 20.3.5 | |
Accelerated: no | |
Video memory: 16008MB | |
Unified memory: no |
This file contains hidden or 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
#! /bin/bash | |
function process_cue () { | |
local FILEDIR=$(dirname "$1") | |
local FILENAME=$(basename "$1") | |
local FLAC_FILE="$FILEDIR/${FILENAME%.*}.flac" | |
local SPLIT_DIR="$FILEDIR/$FILENAME-split" | |
mkdir -p "$SPLIT_DIR" &&\ | |
split2flac -o "$SPLIT_DIR" -of "@track @artist - @title.@ext" -cue "$1" -f "flac" "$FLAC_FILE" |
This file contains hidden or 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
static (string sql, DataParameter[] parameters) Build(FormattableString query) | |
{ | |
var q = query.Format; | |
var args = new List<DataParameter>(); | |
for (var c = 0; c < query.ArgumentCount; c++) | |
{ | |
var name = ":__arg_" + c; | |
q = q.Replace($"{{{c}}}", name); | |
var arg = query.GetArgument(c); | |
q = q.Replace($"{{{c}:raw}}", arg.ToString()); |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using Newtonsoft.Json.Serialization; | |
namespace ConsoleApp15 |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using Newtonsoft.Json; | |
public class Message | |
{ | |
public string type { get; set; } | |
public DateTime date { get; set; } |
This file contains hidden or 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 System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ |
This file contains hidden or 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
#!/bin/bash | |
docker rm -f $(docker ps -a -q) | |
docker system prune -af | |
for mount in $(mount | grep tmpfs | grep '/var/lib/kubelet' | awk '{ print $3 }') /var/lib/kubelet /var/lib/rancher; do umount $mount; done | |
rm -rf /etc/ceph \ | |
/etc/cni \ | |
/etc/kubernetes \ |
This file contains hidden or 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
[generated bytecode for function: (0x12ac297e9bb1 <SharedFunctionInfo>)] | |
Parameter count 1 | |
Register count 0 | |
Frame size 0 | |
0 E> 0x12ac297e9c7e @ 0 : 81 00 00 00 CreateClosure [0], [0], #0 | |
10110 S> 0x12ac297e9c82 @ 4 : aa Return | |
Constant pool (size = 1) | |
Handler Table (size = 0) | |
Source Position Table (size = 8) | |
[generated bytecode for function: (0x12ac297e9be9 <SharedFunctionInfo>)] |
NewerOlder