Loading

Simple grep in Rust

  1. use std::collections::*;
  2. use std::io;
  3.  
  4. // Machine
  5. struct MachineSpec {

ssu lr

  1. Enabled repositories (global):
  2.  - adaptation0 ... https://store-repository.jolla.com/releases/2.0.1.11/jolla-hw/adaptation-motorola-falcon/armv7hl/
  3.  - apps        ... https://releases.jolla.com/jolla-apps/2.0.1.11/armv7hl/
  4.  - hotfixes    ... https://releases.jolla.com/releases/2.0.1.11/hotfixes/armv7hl/
  5.  - jolla       ... https://releases.jolla.com/releases/2.0.1.11/jolla/armv7hl/

basic grep in Rust

  1. use std::collections::*;
  2. use std::io;
  3.  
  4. // Machine
  5. struct MachineSpec<T: Copy + Eq + std::hash::Hash> {

Paste #pipkovoqt

  1. use std::collections::*;
  2. use std::io;
  3.  
  4. // Machine
  5. struct MachineSpec<T: Copy + Eq + std::hash::Hash> {

Paste #pka5bjh2j

  1. #include <string>
  2. #include <algorithm>
  3. #include <iostream>
  4.  
  5. using namespace std;

Paste #pxsi49hsl

  1. import std.stdio, std.file, std.path, std.range, std.string, std.algorithm ;
  2.  
  3. string[] filterList = ["./unittest.d"];
  4.  
  5. void main(string[] args)

bin_bcd

  1. .model tiny
  2. .data
  3. bin equ 150
  4. res dw 0
  5. .code

Paste #pqhqjrblm

  1. #include <iostream>
  2. #include <set>
  3. #include <vector>
  4. #include <string>
  5. #include <algorithm>

Paste #p71mc94zb

  1. import sys
  2. sys.stdout = open('results.txt', 'w')
  3.  
  4. total_score_sum = total_score_cnt = 0

Paste #pabiqyq5x

  1. use std::iter::*;
  2. use std::io::{self, Read};
  3.  
  4. #[derive(Debug, Copy, Clone)]
  5. enum Token {

jonathankang

  1. CC       gsd_test_datetime-gsd-timezone-monitor.o
  2. LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po datetime.gnome-settings-plugin.in datetime.gnome-settings-plugin
  3. Found cached translation database
  4. Merging translations into datetime.gnome-settings-plugin.
  5. gsd-timezone-monitor.c:46:9: error: unknown type name ‘GClueClient’

./autogen output

  1.  ./autogen.sh
  2. aclocal: installing 'build/autotools/glib-gettext.m4' from '/usr/share/aclocal/glib-gettext.m4'
  3. aclocal: installing 'build/autotools/gsettings.m4' from '/usr/share/aclocal/gsettings.m4'
  4. aclocal: installing 'build/autotools/gtk-doc.m4' from '/usr/share/aclocal/gtk-doc.m4'
  5. aclocal: installing 'build/autotools/intltool.m4' from '/usr/share/aclocal/intltool.m4'

Paste #plthlr5bx

  1. Locale 'TRACKER_LOCALE_LANGUAGE' was set to 'en_IN.UTF-8'
  2. Locale 'TRACKER_LOCALE_TIME' was set to 'en_IN.UTF-8'
  3. Locale 'TRACKER_LOCALE_COLLATE' was set to 'en_IN.UTF-8'
  4. Locale 'TRACKER_LOCALE_NUMERIC' was set to 'en_IN.UTF-8'
  5. Locale 'TRACKER_LOCALE_MONETARY' was set to 'en_IN.UTF-8'

Paste #pl3pqzcke

  1. diff --git a/libphobos/libdruntime/gcc/gthreads/posix.d b/libphobos/libdruntime/gcc/gthreads/posix.d
  2. index 15714dd..cc357f9 100644
  3. --- a/libphobos/libdruntime/gcc/gthreads/posix.d
  4. +++ b/libphobos/libdruntime/gcc/gthreads/posix.d
  5. @@ -24,7 +24,44 @@ module gcc.gthreads.posix;

6th one gives an error

  1. *** Error during phase configure of atk: ########## Error running ./autogen.sh --prefix /home/abhinav/jhbuild/install --disable-Werror  --disable-static --disable-gtk-doc  *** [6/52]
  2.  
  3.   [1] Rerun phase configure
  4.   [2] Ignore error and continue to build
  5.   [3] Give up on module