Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcel Robitaille MarcelRobitaille

View GitHub Profile
View gist:19541379a55f19e21a8d8774a55662bf
# The components section contains an ordered list of components you wish to
# print in the MOTD. They will be printed in the order they are defined in
# this file. Duplicate components will override previous definitions. Every
# component has an "enabled" setting which will turn the component on or off.
components:
#####
# ASCII Text Art
# Generates ASCII pictures of strings.
#
View pyenv log
This file has been truncated, but you can view the full file.
/tmp/python-build.20201209152309.226793 ~/code/...
12/09 15:23:10 [NOTICE] Downloading 1 item(s)
[#a7e616 2.4MiB/16MiB(14%) CN:1 DL:2.5MiB ETA:5s]
[#a7e616 4.6MiB/16MiB(27%) CN:1 DL:2.3MiB ETA:4s]
[#a7e616 6.5MiB/16MiB(39%) CN:1 DL:2.2MiB ETA:4s]
[#a7e616 9.0MiB/16MiB(54%) CN:1 DL:2.3MiB ETA:3s]
[#a7e616 11MiB/16MiB(66%) CN:1 DL:2.2MiB ETA:2s]
[#a7e616 12MiB/16MiB(77%) CN:1 DL:2.1MiB ETA:1s]
View bark
#!/usr/bin/env python
import sys
import os
from os import path
from datetime import datetime
import subprocess
import shutil
import sh
View Odrive
import json
import logging
import threading
import fibre
from fibre.utils import Logger
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
fibre_logger = Logger(verbose=logger.getEffectiveLevel() == logging.DEBUG)
View office2pdf.vbs
Option Explicit
Sub WriteLine ( strLine )
WScript.Stdout.WriteLine strLine
End Sub
' http://msdn.microsoft.com/en-us/library/office/aa432714(v=office.12).aspx
Const msoFalse = 0 ' False.
Const msoTrue = -1 ' True.
View systemes thing
R_L = 1000
A_v = -40
A_i = 50
Z_i = 1875
V_CC = 24
# V_CE = V_CC / 2
# A_VNL = -(V_CE * 9 / 11 - 0.7) / 0.026
# R_C = R_L * (A_VNL / A_v - 1)
View Collabora log
Generating RSA private key, 2048 bit long modulus
............+++
.................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
...+++
...........................+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
View Configuration.h
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
View configuration.h
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
// This configuration file contains the basic settings.
// Advanced settings can be found in Configuration_adv.h
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
//===========================================================================
//============================= DELTA Printer ===============================
//===========================================================================
View webpack --profile
909ms building modules
13ms sealing
0ms optimizing
0ms basic module optimization
2ms module optimization
1ms advanced module optimization
9ms basic chunk optimization
0ms chunk optimization
1ms advanced chunk optimization
15ms module and chunk tree optimization