This file contains 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
#!/bin/bash | |
for file in $1/*.mp3 | |
do | |
echo "file=$file" | |
mp3splt -f 0.10 5000.0 $file | |
if test "$?" == "0"; then | |
# cp $file $file"_backup" | |
rm $file |
This file contains 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace DateTimeLongCompare | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains 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
if [[ $- != *i* ]] ; then | |
ON_A_TTY=No | |
else | |
ON_A_TTY=Yes | |
fi | |
# check that an ssh-agent is running | |
if [ -x /usr/bin/ssh-agent ] | |
then | |
SSH_AGENT_PID=-1 |
This file contains 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
<#@ Template Language="C#" HostSpecific="True" Inherits="DynamicTransform" #> | |
<#@ Output extension="txt" #> | |
<#@ assembly name="System.ComponentModel.DataAnnotations" #> | |
<#@ assembly name="System.Core" #> | |
<#@ assembly name="System.Data.Entity" #> | |
<#@ assembly name="System.Data.Linq" #> | |
<#@ import namespace="System" #> | |
<#@ import namespace="System.Collections" #> | |
<#@ import namespace="System.Collections.Generic" #> | |
<#@ import namespace="System.ComponentModel.DataAnnotations" #> |
This file contains 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
// http://creativecommons.org/licenses/by-nc-sa/3.0/ | |
var foo = from p in _db.tblFactories | |
group p by p.tblFactoryName into grp | |
let tblFactoryExportDate = grp.Max(p => p.tblFactoryExportDate) | |
let tblFactoryName = grp.Key | |
from p in grp | |
where p.tblFactoryName == tblFactoryName && | |
p.tblFactoryExportDate == tblFactoryExportDate |
This file contains 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.ComponentModel.DataAnnotations; | |
namespace demo_002.Models | |
{ | |
public class ByteInfoAttribute : ValidationAttribute | |
{ |
This file contains 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
.topLink { | |
background: url('http://jquerymobile.com/demos/1.2.0/docs/toolbars/glyphish-icons/88-beermug.png') no-repeat; | |
position:fixed; | |
width: 30px; | |
height: 30px; | |
bottom:30px; | |
right:20px; | |
} |
This file contains 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
// | |
// FuncDemos | |
// | |
// Extensens.cs - 06.12.2012 | |
// | |
// Author: glenn | |
using System; | |
using System.Net; |
This file contains 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 System.IO; | |
using System.Web; | |
using System.Web.Hosting; | |
using dotless.Core.Input; | |
namespace theForce.App_Start | |
{ | |
public class LessImportResolver : IPathResolver | |
{ | |
private string _currentFileDirectory; |
This file contains 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
foo.slice(0, foo.length - (foo.length - baa.length)) |
NewerOlder