Skip to content

Instantly share code, notes, and snippets.

View renexdev's full-sized avatar

reneX renexdev

View GitHub Profile
@renexdev
renexdev / renameV1.py
Last active October 13, 2015 18:38
rename files in a folder
#!/usr/bin/env python
##################################################################################
# script function: rename files in a folder
#
# rel. date: 10/2015
# Dr. Rene Cejas Bolecek
# Low Temperatures Laboratory, CAB, Argentina.
# email: reneczechdev@gmail.com
# licence: MIT. http://opensource.org/licenses/MIT
@renexdev
renexdev / GetRfromT.ipynb
Last active March 22, 2016 15:30
Get R from T using fsolve
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@renexdev
renexdev / renameV1.py
Created May 4, 2016 17:31
Rename files implemented in pulse files
#!/usr/bin/env python
##################################################################################
# Rename files
# Rel. 05/2016
# Dr. Rene Cejas Bolecek
# Low Temperatures Laboratory, CAB, Argentine.
# email: reneczechdev@gmail.com
######
import glob
import shutil
@renexdev
renexdev / CorrCalibraLS336.py
Last active August 23, 2016 13:30
Correct LS336 calibration points
#!/usr/bin/env python
##################################################################################
# script function: rename files in a folder
#
# rel. date: 08/2016
# Dr. Rene Cejas Bolecek
# Low Temperatures Laboratory, CAB, Argentina.
# email: reneczechdev@gmail.com
# licence: MIT. http://opensource.org/licenses/MIT
@renexdev
renexdev / pltDataNodeV3.ipynb
Last active August 29, 2016 14:51
Os NodeSensor Data Access - DataTime filter added!
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@renexdev
renexdev / Int2Field.py
Created September 30, 2016 20:09
Calibration curve fitting and interpolating magnetization values
import numpy as np
import matplotlib.pyplot as plt
from scipy import interpolate
import sys
sys.path.append("./modules/")
####################################################################################################################################
filename = '08.0K_20x_01_d1_intensity_v_01'
#08.0K_20x_01_d1_intensity_h_02
#08.0K_20x_01_d1_intensity_v_01
#08.0K_20x_01_d1_intensity_v_02
@renexdev
renexdev / step4_profiles_v2.py
Created September 30, 2016 20:11
Magneto-Optics on superconducting Disks - Plot Hs vsHa, profiles, Bz v sHa
#!/usr/bin/env python
s = "Rene Cejas Bolecek\n\
reneczech@gmail.com / ncejas@cab.cnea.gov.ar\n\
Low Temperatures Laboratory, Centro Atomico Bariloche\n\
Instituto Balseiro, Universidad Nacional de Cuyo\n\
Avenida Bustillo 9500, 8400 Bariloche, Rio Negro, Argentina\n\
MIT License\n\
"
s1 = "Graphs: profiles for increasing a decreasing field + B vs H + Magnetization loops\n\
Output: save B vs H + Magnetization loops for selected points\n\
@renexdev
renexdev / git_remote_branches.sh
Created June 28, 2017 13:08 — forked from roscius/git_remote_branches.sh
Git: Track Remote Branches
# Create new remote branch
git push origin origin:refs/heads/new_branch_name
# Make sure everything is updated
git fetch origin
# Check your branch has been created
git branch -r
# Track a remote branch
@renexdev
renexdev / installing-node-with-nvm.md
Created December 4, 2017 17:13 — forked from d2s/installing-node-with-nvm.md
Installing Node.js for Linux & macOS with nvm
@renexdev
renexdev / facebook--posts-deleter-2016-firefox-greasemonkey.js
Created February 10, 2017 13:52 — forked from vsubhash/com.vsubhash.js.facebook-posts-deleter
"Facebook Posts Deleter 2016" script is a Greasemonkey JavaScript that will automatically delete Facebook posts one by one without any user intervention. Install this script in Firefox using the Greasemonkey add-on. Then, go to your "Activity Log" and click on the "Delete Facebook Posts" that pops on the top-left.
// ==UserScript==
// @name Facebook Posts Deleter
// @namespace com.vsubhash.js.facebook.posts.deleter
// @description Deletes all facebook posts
// @version 1
// @grant none
// ==/UserScript==
document.addEventListener("DOMContentLoaded", addFacebookPostsDeleteButton, false);