Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<!--https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILanguage=en-US&Locale=en-US&Keyboard=00000409&GeoLocation=244&ProcessorArchitecture=amd64&BypassRequirementsCheck=true&BypassNetworkCheck=true&HidePowerShellWindows=true&ComputerNameMode=Random&CompactOsMode=Never&TimeZoneMode=Implicit&PartitionMode=Interactive&DiskAssertionMode=Skip&WindowsEditionMode=Generic&WindowsEdition=home&InstallFromMode=Automatic&PEMode=Default&UserAccountMode=InteractiveLocal&PasswordExpirationMode=Unlimited&LockoutMode=Default&HideFiles=Hidden&ClassicContextMenu=true&LaunchToThisPC=true&TaskbarSearch=Hide&TaskbarIconsMode=Empty&DisableWidgets=true&LeftTaskbar=true&HideTaskViewButton=true&DisableBingResults=true&StartTilesMode=Empty&StartPinsMode=Empty&EnableLongPaths=true&DisableAppSuggestions=true&PreventDeviceEncryption=true&HideEdgeFre=true&Disa
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<!--https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILanguage=en-US&Locale=en-US&Keyboard=00000409&GeoLocation=244&ProcessorArchitecture=amd64&BypassRequirementsCheck=true&HidePowerShellWindows=true&ComputerNameMode=Random&CompactOsMode=Never&TimeZoneMode=Implicit&PartitionMode=Interactive&DiskAssertionMode=Skip&WindowsEditionMode=Generic&WindowsEdition=home&InstallFromMode=Automatic&PEMode=Default&UserAccountMode=InteractiveLocal&PasswordExpirationMode=Unlimited&LockoutMode=Default&HideFiles=Hidden&ClassicContextMenu=true&LaunchToThisPC=true&TaskbarSearch=Hide&TaskbarIconsMode=Empty&DisableWidgets=true&LeftTaskbar=true&HideTaskViewButton=true&DisableBingResults=true&StartTilesMode=Empty&StartPinsMode=Empty&EnableLongPaths=true&DisableAppSuggestions=true&PreventDeviceEncryption=true&HideEdgeFre=true&DisableEdgeStartupBoost=true
import gleam/otp/actor
import gleam/erlang/process
type Message {
Ping(respond_with: process.Subject(String))
}
pub fn ping() {
let assert Ok(actor) =
actor.new_with_initialiser(100, fn(_) {
#!/usr/bin/env ruby
# require 'pathname'
require 'active_support/all' # DateTime
# M 2025-01-13 09-18
# T 2025-01-14 07-16
# W 2025-01-15 09-18 ?
# R 2025-01-16 y
module Types.Scratch exposing (HasComments)
import RemoteData as RD exposing (RemoteData(..), WebData)
import Types.Clip.Comment as Comment exposing (Comment)
type alias HasComments m =
-- haskell syntax, btw
data Maybe a
= Nothing
| Just a
noStringHere :: Maybe String
noStringHere = Nothing
aStringHere :: Maybe String
module Email
def self.get_domain(email_address)
email_address&.split('@')&.last
end
end
emails = [ '[email protected]' ]
p emails.map(&Email.method(:get_domain))
@bchase
bchase / App.js
Last active October 10, 2018 22:15
// app/assets/javascripts/App.js
class App {
static initJobShow() {
$(document).ready(function(){
let user_id = $(".user-id").data("id")
let job_id = $(".job-id").data("id")
$.get(`/users/${user_id}/jobs/${job_id}.json`, function(data) {
let job = new Job(date, user_id)
// app/assets/javascripts/jobs/show.js
$(document).ready(function(){
const displayJobDetails = function (job) {
$('#foo').append(JobView.renderJobShow(job))
}
})
// // jobs/show.html.erb
// ...