Skip to content

Instantly share code, notes, and snippets.

View martingodugu's full-sized avatar

Martin Herbert Raj martingodugu

View GitHub Profile
@martingodugu
martingodugu / ClearCase_to_Git.txt
Created November 27, 2019 13:08 — forked from Soabirw/ClearCase_to_Git.txt
ClearCase <-> Git
Create new "clean" Snapshot View (call it username_r7_prestine)
Go to new directory (username_r7_prestine)
git init
git config --global user.name "Your Name"
git config --global user.email you@example.com
git add .
git commit -am "Initial Import"
from view folder
git clone username_r7_prestine username_r7_git
from r7_2_int
@martingodugu
martingodugu / Makefile
Created July 5, 2018 05:04 — forked from SkypLabs/Makefile
Sample code and its Makefile for Arduino Uno using the AVR library
MCU = atmega328p
TARGET_ARCH = -mmcu=$(MCU)
TARGET = main
CC = avr-gcc
CPPFLAGS = -mmcu=$(MCU)
CFLAGS = -Os -g -Wall -I. -DF_CPU=16000000
LDFLAGS = -g -mmcu=$(MCU) -lm -Wl,--gc-sections -Os
PGMER = -c arduino -b 115200 -P /dev/ttyACM0
PGMERISP = -c avrispv2 -P /dev/ttyACM0
DUDE = /usr/bin/avrdude -V -p $(MCU)
HANDY ONE-LINE SCRIPTS FOR AWK 30 April 2008
Compiled by Eric Pement - eric [at] pement.org version 0.27
Latest version of this file (in English) is usually at:
http://www.pement.org/awk/awk1line.txt
This file will also be available in other languages:
Chinese - http://ximix.org/translation/awk1line_zh-CN.txt
USAGE:
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->