Skip to content

Instantly share code, notes, and snippets.

View AgiosAndreas's full-sized avatar
⌨️
Working

Andrei Gaevskii AgiosAndreas

⌨️
Working
View GitHub Profile

Best practices for PCB Design

Schematics

  • Power symbols should point upwards
  • Ground symbols should point downards
  • Sections should be labeled
  • Nets should generally not cross
  • Nets should be labeled
  • Either global or regular labels are fine
; Ender 3 Custom Start G-code
M221 S100 ; Set flow to 100
G28 ; Home all axes
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
M140 S{material_bed_temperature_layer_0} ; set bed temp
M109 S{material_print_temperature_layer_0} ; wait for extruder temp
M190 S{material_bed_temperature_layer_0} ; wait for bed temp
@AgiosAndreas
AgiosAndreas / dabblet.css
Last active August 29, 2015 14:13
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 15px;
}
.alert {
color: #999;

style text:

italic - текст с наклоном

italic - текст с наклоном

bold - выделенный (жирный текст)

bold - выделенный

@AgiosAndreas
AgiosAndreas / repo-full-copy.sh
Created January 10, 2014 14:57
Полный перенос git репозитория на другой сервер
# Клонируем исходный репозиторий без рабочего каталога (--bare)
git clone --bare https://github.com/exampleuser/old-repository.git
cd old-repository.git
# Делаем mirror-push(будут скопированы все ветки и тэги) в новый репозиторий
git push --mirror https://github.com/exampleuser/new-repository.git
cd ..
# Удаляем папку с репозиторием
Console.WriteLine("Hello world!");
@AgiosAndreas
AgiosAndreas / gist:5294857
Created April 2, 2013 18:31
Sync Skype Chat History on Multiple Machines With Dropbox
# Quit the Skype application
pkill Skype
# Move the "main" Skype chat history files to the Dropbox directory
mv ~/Library/Application\ Support/Skype ~/Dropbox/
# Create a symlink from the original folder to the Dropbox folder
ln -s ~/Dropbox/Skype/ ~/Library/Application\ Support/Skype
#!/bin/sh
# add a simple 'nuget' command to Mac OS X under Mono
# get NuGet.exe binary from http://nuget.codeplex.com/releases/view/58939
# get Microsoft.Build.dll from a Windows .NET 4.0 installation
# copy to /usr/local/bin and Robert is your father's brother....
#
PATH=/usr/local/bin:$PATH
mono --runtime=v4.0 /usr/local/bin/NuGet.exe $*
package ru.inn.autotests.pixelwars.scenaries;
import ru.inn.autotests.pixelwars.common.BaseTestScenarioController;
import ru.inn.autotests.pixelwars.common.Debugger;
import ru.inn.autotests.pixelwars.common.PrConstants;
import ru.inn.autotests.pixelwars.common.entities.PixelUser;
import ru.inn.autotests.pixelwars.common.user.RequestFactory;
import ru.inn.autotests.pixelwars.common.user.UserFactory;
import ru.inn.autotests.pixelwars.protos.GameObject;
import ru.inn.autotests.pixelwars.protos.Result;
public class Single
{
public static readonly Single Instance = new Single();
private Single()
{
}
}