As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/zsh | |
| source ~/.zshrc; | |
| if [[ -z $1 ]]; then | |
| echo "ERROR: specify a nonempty command" | |
| else | |
| eval $@ && notify-send "`pwd`: $1 finished" | |
| fi |
| public class SharePointStreamFetcherTest { | |
| @Mock(answer = Answers.RETURNS_DEEP_STUBS) | |
| SPDataLoaderManager spDataLoaderManager; | |
| SharePointStreamFetcher underTest; | |
| SoftAssertions softAssertions = new SoftAssertions(); |
| # Updapte components | |
| gcloud components update | |
| # Display local configuration folder | |
| gcloud info --format='get(config.paths.global_config_dir)' | |
| # display help | |
| gcloud [command] -h | |
| # Create a configuration (project + profile) |
| The best (permanent) solution I could find was to edit /usr/share/X11/xorg.conf.d/10-evdev.conf | |
| >> Add Option "Ignore" "on" to the touchscreen section so it looks like this: | |
| Section "InputClass" | |
| Identifier "evdev touchscreen catchall" | |
| MatchIsTouchscreen "on" | |
| MatchDevicePath "/dev/input/event*" | |
| Driver "evdev" | |
| Option "Ignore" "on" |
| public MappedField getMappedField(final String storedName) { | |
| for (final MappedField mf : persistenceFields) { | |
| for (final String n : mf.getLoadNames()) { | |
| if (storedName.equals(n)) { | |
| return mf; | |
| } | |
| } | |
| } | |
| return null; | |
| } |
| public class WrapperUser extends AbstractEndpoint{ | |
| public doWrappedOperation(){ | |
| return wrap(user, appUser -> new ApiUpdateList(updateService.list(appUser, exportId, limit, pageToken))); | |
| } | |
| } | |
| public class AbstractEndpoint { //should be abstract, but prevents discovery generation if not |
| function json_structure_test(){ | |
| var json = { | |
| 'toto':{ | |
| 'titi':{ | |
| 'tata': 'Hello World', | |
| 'lala': 'lulu' | |
| } | |
| }, | |
| 'cucu':'coco'}; |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.ihommani</groupId> | |
| <artifactId>presentation-maven</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| </project> |
| package com.ihommani.dataflow.starter; | |
| import lombok.extern.slf4j.Slf4j; | |
| import org.apache.beam.sdk.Pipeline; | |
| import org.apache.beam.sdk.PipelineResult; | |
| import org.apache.beam.sdk.io.gcp.pubsub.PubsubIO; | |
| import org.apache.beam.sdk.io.gcp.pubsub.PubsubMessage; | |
| import org.apache.beam.sdk.io.gcp.pubsub.PubsubOptions; | |
| import org.apache.beam.sdk.options.Default; | |
| import org.apache.beam.sdk.options.Description; |
As configured in my dotfiles.
start new:
tmux
start new with session name: