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 bash | |
| set -euo pipefail | |
| # patch-claude-code.sh — Rebalance Claude Code prompts to fix corner-cutting | |
| # behavior AND enforce source-citation / anti-hallucination guardrails. | |
| # | |
| # What this does: | |
| # Patches the npm-installed @anthropic-ai/claude-code cli.js to rebalance | |
| # system prompt instructions that cause the model to cut corners, simplify | |
| # excessively, defer complicated work, or present confabulated tool output |
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 | |
| # coding: utf-8 | |
| # Python script to bruteforce a 4 digit pass - bandits.overthewire | |
| import multiprocessing as mp | |
| import socket | |
| import time | |
| import math | |
| import sys |
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
| // | |
| // GDWebViewController.swift | |
| // GDWebBrowserClient | |
| // | |
| // Created by Alex G on 03.12.14. | |
| // Copyright (c) 2015 Alexey Gordiyenko. All rights reserved. | |
| // | |
| //MIT License | |
| // |
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
| class WillService { | |
| constructor (options) { | |
| this.willData = options.willData | |
| } | |
| getWill (willId) { | |
| return this.willData.getWill(willId) | |
| } |
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
| var myFunction = function() { | |
| } | |
| function myFunction() { | |
| } |
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
| <ripple account-token="xvcwousdl" callback="processResults()"> | |
| Click To Upload Photo | |
| </ripple> |
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
| import java.util.*; | |
| public class BalanceParen { | |
| public static void main(String[] args) { | |
| System.out.println(isBalanced(")))))")); | |
| } | |
| private static boolean isBalanced(String input) { | |
| Stack<Character> stack = new Stack<>(); |
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
| EDXAPP_PLATFORM_NAME: 'platform-name' | |
| EDXAPP_TIME_ZONE: '' | |
| EDXAPP_TECH_SUPPORT_EMAIL: '' | |
| EDXAPP_CONTACT_EMAIL: '' | |
| EDXAPP_BUGS_EMAIL: '' | |
| EDXAPP_DEFAULT_FROM_EMAIL: '' | |
| EDXAPP_DEFAULT_FEEDBACK_EMAIL: '' | |
| EDXAPP_DEFAULT_SERVER_EMAIL: '' | |
| EDXAPP_BULK_EMAIL_DEFAULT_FROM_EMAIL: '' | |
| EDXAPP_UNIVERSITY_EMAIL: '' |
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
| public class PreFixer { | |
| public static void main(String[] args) { | |
| if(args.length < 1) { | |
| System.out.println("invalid arguments"); | |
| return; | |
| } | |
| String commongPrefix = getCommonPrefix(args); | |
| System.out.println("Common Prefix for list is : " + commongPrefix); |
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
| import java.util.Arrays; | |
| import java.util.HashMap; | |
| import java.util.ArrayList; | |
| public class AnagramSort{ | |
| public static void main( String[] args ){ | |
| HashMap< Integer, ArrayList< String >> hm = new HashMap(); | |
NewerOlder