Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/security/limits.conf | |
| * soft nofile 999999 | |
| * hard nofile 999999 | |
| root soft nofile 999999 | |
| root hard nofile 999999 | |
| =========================================================== | |
| # /etc/sysctl.conf | |
| # sysctl for maximum tuning |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="relative"> | |
| <div id="#search-box"></div> | |
| <div id="#hits"></div> | |
| </div> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class EventManager : MonoBehaviour { | |
| public bool LimitQueueProcesing = false; | |
| public float QueueProcessTime = 0.0f; | |
| private static EventManager s_Instance = null; | |
| private Queue m_eventQueue = new Queue(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """Convert caption files to different formats | |
| One or more caption files will be converted to the specified output format, saved next to the input file | |
| Requires the pycaption library from PBS: https://pypi.python.org/pypi/pycaption/ | |
| """ | |
| from __future__ import absolute_import, print_function, unicode_literals |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| By default, TensorFlow's GraphDef only saves the graph architecture | |
| (not the parameter values), while the Saver class only writes parameter | |
| values to each checkpoint. | |
| This code allows combining data from the GraphDef and a checkpoint file | |
| to restore a functioning model. | |
| Sample usage: | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def str_stem(s): | |
| if isinstance(s, str) or isinstance(s, unicode): | |
| s = s.replace('steele stake','steel stake') | |
| s = s.replace('gas mowe','gas mower') | |
| s = s.replace('metal plate cover gcfi','metal plate cover gfci') | |
| s = s.replace('lawn sprkinler','lawn sprinkler') | |
| s = s.replace('ourdoor patio tile','outdoor patio tile') | |
| s = s.replace('6 teir shelving','6 tier shelving') | |
| s = s.replace('storage shelve','storage shelf') | |
| s = s.replace('American Standard Bone round toliet','American Standard Bone )round toilet') |