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 { Pipe, PipeTransform } from '@angular/core'; | |
@Pipe({ | |
name: 'turkishTitleCase', | |
}) | |
export class TurkishTitleCasePipe implements PipeTransform { | |
private lowerCaseWords: Array<string> = ['ve', 'ile', 'veya']; | |
private capitalizeFirstLetter(word: string): string { | |
return word.charAt(0).toLocaleUpperCase('tr') + word.slice(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
// ==UserScript== | |
// @name Steam USD/TL Çeviricisi | |
// @namespace http://tampermonkey.net/ | |
// @author Kemal Ersin YILMAZ | |
// @icon http://store.steampowered.com/favicon.ico | |
// @match http://store.steampowered.com/* | |
// @match https://store.steampowered.com/* | |
// @run-at document-body | |
// @grant GM.xmlHttpRequest | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Steam USD Uyarısı Gizleyici | |
// @author Kemal Ersin YILMAZ | |
// @icon http://store.steampowered.com/favicon.ico | |
// @match http://store.steampowered.com/* | |
// @match https://store.steampowered.com/* | |
// @grant none | |
// @run-at document-body | |
// ==/UserScript== | |
/* jshint -W097 */ |
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; | |
using CefSharp; | |
using CefSharp.WinForms; | |
namespace WhatApp | |
{ | |
public partial class FrmMain : Form | |
{ |
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 { TwitterApi } from 'twitter-api-v2'; | |
import { concat, sample, shuffle } from 'lodash'; | |
const client: TwitterApi = new TwitterApi(process.env.TOKEN || ''); | |
const tweetId: string = process.env.TWEET_ID || ''; | |
function loading() { | |
const h = ['|', '/', '-', '\\']; | |
let i = 0; |
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
twitter: { | |
pagelike: async (function (account, campaign) { | |
if (account.profileId == twSelf.profileId) { | |
return true; | |
} | |
var result = await (twAccountClient.get('friendships/show', { | |
target_id: twSelf.profileId | |
}).catch(console.log)); |
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 | |
# This script rename all mkv files in the current directory. | |
find ./downloads/jdownloader2/movies -type d -exec filebot -rename -non-strict {} --db TheMovieDB --format "../{n} ({y})/{n} ({y}) - [{source}-{vf} {vc} {ac}{audio.language*.upper()}{if (text.language[0]) ' ' + text.language*.upper()}]" ';' && echo |
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 | |
####################################### | |
### NZBGET POST-PROCESSING SCRIPT ### | |
# | |
# This script will rename the mkv to | |
# the nzb name. | |
# |
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 | |
####################################### | |
### NZBGET POST-PROCESSING SCRIPT ### | |
# Change MKV Info | |
# | |
# This script takes all mkv files in the current directory | |
# and sets the name of tracks. |
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 | |
# This script takes all mkv files in the current directory and sets the name of tracks. | |
NAME="Muvvi | www.muvvi.club" | |
downloader="$1" | |
if [ ! -n "$downloader" ]; then | |
downloader="jdownloader2" | |
fi |
NewerOlder