#git rebase -i <sha>
List of commits from git log
F--E--D--C--B--A ➟ F--E--C--B--A
✂
Lets say you want to remove commit D from the commits.
| # Use this function scans all files in an input folder | |
| # Any file that has the ISBN format name, e.g. 9781803239736.epub etc. | |
| # will be renamed to the real file name, e.g. ·Microsoft Excel.epub· | |
| # Install dependencies with virtualdev | |
| # ``` | |
| # pip install virtualenv | |
| # virtualenv winenv # winenv is any name your like to create | |
| # Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass # important, winOS only | |
| # pip install -r .\requirements.txt # install dependencies |
| import glob | |
| import os | |
| import sys | |
| def get_all_mp4s(folder): | |
| pattern = folder + '/**/*.mp4' | |
| files = glob.glob(pattern, recursive=True) | |
| return files | |
| def convert(files): |
| #include "stdafx.h" | |
| #include "OsgSnapshotHelper.h" | |
| OsgSnapshotHelper::OsgSnapshotHelper(osgViewer::Viewer* pView) | |
| { | |
| pViewer = pView; | |
| // Install custom renderer | |
| osg::ref_ptr<CustomRenderer> customRenderer = new CustomRenderer(pViewer->getCamera()); |
#git rebase -i <sha>
List of commits from git log
F--E--D--C--B--A ➟ F--E--C--B--A
✂
Lets say you want to remove commit D from the commits.
#git rebase -i <sha>
List of commits from git log
F--E--D--C--B--A ➟ F--E--C--B--A
✂
Lets say you want to remove commit D from the commits.
| ShortCode,FullStringCode | |
| gb , git branch\n | |
| gc , git checkout | |
| gl , git log --oneline\n | |
| gd , git diff | |
| gm , git commit -m "" | |
| gs , git status\n | |
| gaa , git add .\n | |
| gam , git commit -am "" |
| //client1 = new FireSharp.FirebaseClient(new FirebaseConfig(...)); | |
| client1.OnAsync(StringPath, Added, Changed, Removed); | |
| private void Removed(object sender, ValueRemovedEventArgs args, object context) | |
| { | |
| Log(args.Path + " removed"); | |
| } | |
| private void Changed(object sender, ValueChangedEventArgs args, object context) | |
| { |
| var workbook = new Excel.Workbook(); | |
| workbook.xlsx.readFile(filename).then(() => { | |
| var worksheet = workbook.getWorksheet(sheet); | |
| worksheet.eachRow({ includeEmpty: true }, function(row, rowNumber) { | |
| console.log("Row " + rowNumber + " = " + JSON.stringify(row.values)); | |
| }); | |
| }); |
| A ppt |
| using UnityEngine; | |
| using System.Collections; | |
| /// <summary> | |
| /// Place this script on a GameObject that you want to face the camera. | |
| /// Then, with the object selected, use the inspector to select the | |
| /// Camera you want the object to face. | |
| /// | |
| /// Update: If you don't specify the camera, Camera.Main will be used instead | |
| /// |