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
def itertar(tar): | |
while True: | |
n = tar.next() | |
if n is None: | |
break | |
else: | |
yield n |
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
Are you sure you wish to upgrade from ruby-2.6.3 to ruby-2.7.0? (Y/n): | |
Installing new ruby ruby-2.7.0 | |
Searching for binary rubies, this might take some time. | |
No binary rubies available for: osx/10.15/x86_64/ruby-2.7.0. | |
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. | |
Checking requirements for osx. | |
Error: Calling `brew list` to only list formulae is disabled! Use `brew list --formula` instead. | |
Error: Calling `brew list` to only list formulae is disabled! Use `brew list --formula` instead. | |
Error: Calling `brew list` to only list formulae is disabled! Use `brew list --formula` instead. | |
Error: Calling `brew list` to only list formulae is disabled! Use `brew list --formula` instead. |
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
git clone [email protected]:eclipse/lyo.git | |
# we can also do https://www.hanselman.com/blog/easily-rename-your-git-default-branch-from-master-to-main here or at the end | |
git clone [email protected]:eclipse/lyo.domains.git | |
git tag v4.0.0.M2-domains 897c4bde35bddad08f7740eafb504771d7c4ac03 | |
git remote add domains ../lyo.domains | |
git fetch domains --tags | |
git merge --allow-unrelated-histories domains/master |
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
sed '1a\ | |
<!--\ | |
Copyright (c) $YEAR $OWNER, All rights reserved.\ | |
\ | |
Redistribution and use in source and binary forms, with or without modification,\ | |
are permitted provided that the following conditions are met:\ | |
\ | |
Redistributions of source code must retain the above copyright notice, this\ | |
list of conditions and the following disclaimer. Redistributions in binary\ | |
form must reproduce the above copyright notice, this list of conditions and\ |
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.Runtime.InteropServices; | |
using Shell32; | |
namespace UnrecycleThem | |
{ | |
public class UnrecycleThem | |
{ | |
public 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
import org.apache.jena.rdf.listeners.ChangedListener | |
import org.apache.jena.rdf.model.InfModel | |
import org.apache.jena.rdf.model.Model | |
import org.apache.jena.rdf.model.ModelFactory | |
import org.apache.jena.reasoner.rulesys.RDFSRuleReasonerFactory | |
import org.apache.jena.riot.RDFDataMgr | |
import org.apache.jena.riot.RDFFormat | |
import org.apache.jena.util.FileUtils | |
import org.apache.jena.vocabulary.RDF | |
import org.apache.jena.vocabulary.ReasonerVocabulary |
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
tell application "Notes" | |
set theMessages to every note | |
repeat with thisMessage in theMessages | |
# added identification of folder to create notebooks based on existing folder hierarchy | |
set myFolder to the container of thisMessage | |
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
tell application "Notes" | |
set theMessages to every note | |
repeat with thisMessage in theMessages | |
set myTitle to the name of thisMessage | |
set myText to the body of thisMessage | |
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
public class MyClass { | |
@Autowired | |
private ConvertAToB convertAToB; | |
@Autowired | |
private ConvertBToC convertBToC; | |
@Autowired | |
private ConvertCToD convertCToD; |
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
AWTException | |
AclNotFoundException | |
ActivationException | |
AlreadyBoundException | |
ApplicationException | |
ArithmeticException | |
ArrayIndexOutOfBoundsException | |
AssertionException | |
BackingStoreException | |
BadAttributeValueExpException |
NewerOlder