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
for i in *.png; do sips -s format jpeg $i --out $OUTPUT_FOLDER/$i.jpeg;done |
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
import os | |
[os.rename(f, f.replace("OLD_VALUE", "NEW_VALUE").lower()) for f in os.listdir('.') if not f.startswith('.')] |
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.Windows.Forms; | |
namespace CW | |
{ | |
public partial class DateTimePickerEx1 : DateTimePicker | |
{ | |
#region Constructor | |
public DateTimePickerA4Ex1() | |
{ |
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
//Code to mute and unmute macs for n seconds through Applescript Editor | |
set volume with output muted | |
set startDelayDate to (time of (current date)) | |
global shouldRepeat | |
set shouldRepeat to yes | |
repeat while shouldRepeat is equal to yes | |
delay (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
//Mute Windows for n seconds | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; |