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
➜ ~ sudo aura -Ayu --no-pp | |
:: Synchronizing package databases... | |
thestinger is up to date 0.0 B 0.00B/s 00:00 [-----------------------------------------] 0% | |
error: failed retrieving file 'core.db' from ftp.ds.hj.se : Connection timed out after 10001 milliseconds | |
error: failed to update core (download library error) | |
error: failed retrieving file 'extra.db' from ftp.ds.hj.se : Connection timed out after 10001 milliseconds | |
error: failed to update extra (download library error) | |
error: failed retrieving file 'community.db' from ftp.ds.hj.se : Connection timed out after 10001 milliseconds | |
error: failed to update community (download library error) | |
error: failed retrieving file 'multilib.db' from ftp.ds.hj.se : Connection timed out after 10001 milliseconds |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
) | |
const ( |
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 java.io.IOException; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
import static java.nio.file.Files.lines; | |
import static java.util.stream.Collectors.groupingBy; | |
public class gc_count { |
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
use std::io; | |
use std::rand; | |
fn main() { | |
let x:uint = rand::random(); | |
let secret_number:uint = (x % 100u) + 1u; | |
println!("Guess the number!"); | |
loop{ |
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
@Bean | |
public ApplicationContextHolder applicationContextHolder() { | |
return new ApplicationContextHolder(); | |
} | |
@Bean | |
public LoggerContext loggerContext() { | |
return (LoggerContext) LoggerFactory.getILoggerFactory(); | |
} |
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 ( | |
"testing" | |
"github.com/gocql/gocql" | |
"github.com/scylladb/gocqlx" | |
"github.com/scylladb/gocqlx/qb" | |
) | |
const ( | |
createTypeStmt = `CREATE TYPE IF NOT EXISTS gocqlx_test.segment ( |