Skip to content

Instantly share code, notes, and snippets.

View ileonte's full-sized avatar
🧙‍♂️
I put on my robe and wizard hat

Ionuț Leonte ileonte

🧙‍♂️
I put on my robe and wizard hat
View GitHub Profile
instance_id=0a087eb5
installation_name=VisualStudio/14.37.32822
installation_path=C:\MSVC
installation_version=14.37.32822
display_name=Visual Studio Community 2022
display_desc=Powerful IDE, free for students, open-source contributors, and individuals
sdk_version=10.0.22000.0
sdk_path=C:\MSVC\Windows Kits\10
//
// Author: Jonathan Blow
// Version: 1
// Date: 31 August, 2018
//
// This code is released under the MIT license, which you can find at
//
// https://opensource.org/licenses/MIT
//
//
ileonte@ltkcentral ~/Work/projects/test1-zig $ cat helloworld.zig
const std = @import("std");
const stdout = std.io.getStdOut().writer();
fn test_fn(args: anytype) void {
stdout.print("Got {} args\n", .{args.len}) catch {};
}
pub fn main() !void {
41:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981 (rev ff) (prog-if ff)
!!! Unknown header type 7f
@ileonte
ileonte / dmesg-clear
Created May 14, 2019 22:25
clearlinux-nvme-issues
[ 0.000000] Linux version 5.0.15-754.native (mockbuild@kojibld01) (gcc version 9.1.1 20190510 gcc-9-branch@271066 (Clear Linux OS for Intel Architecture)) #1 SMP Fri May 10 18:30:14 UTC 2019
[ 0.000000] Command line: root=PARTUUID=2f10943d-4d2f-4c58-92cb-92da7810c3a5 quiet console=tty0 console=ttyS0,115200n8 init=/usr/bin/initra-desktop initcall_debug tsc=reliable no_timer_check noreplace-smp kvm-intel.nested=1 rootfstype=ext4,btrfs,xfs intel_iommu=igfx_off cryptomgr.notests rcupdate.rcu_expedited=1 rcu_nocbs=0-64 rw
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
#include <unistd.h>
int main(void)
{
const char B1[] = "STDOUT\n";
const char B2[] = "STDERR\n";
write(1, B1, sizeof(B1) - 1);
write(2, B2, sizeof(B2) - 1);
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <seccomp.h>
#include <sys/types.h>
#include <wait.h>
[9322:1015/181708:ERROR:browser_main_loop.cc(189)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[9351:1015/181708:INFO:renderer_main.cc(200)] Renderer process started
[9355:1015/181708:INFO:renderer_main.cc(200)] Renderer process started
[9322:1015/181708:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: g2.symcb.com
[9322:1015/181708:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: g2.symcb.com
[9322:1015/181708:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: g1.symcb.com
[9322:1015/181708:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: g2.symcb.com
[9322:1015/181708:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: g2.symcb.com
[9322:1015/181708:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: g1.symcb.com
[9322:1015/181708:ERROR:nss_ocsp.cc(613)] No
--- main.orig.js 2015-09-28 02:40:41.000000000 +0300
+++ main.js 2015-10-15 18:04:54.150005355 +0300
@@ -63,8 +63,9 @@ app.on('ready', function() {
});
//Save settings when app is closed.
mainWindow.on('close', function(){
- var data = {
+ data = {
bounds: mainWindow.getBounds(),
+ position: mainWindow.getPosition(),